Skip to content

Commit 91fdd6b

Browse files
authored
Merge pull request #1193 from hackclub/reduce-sync-project-language-size
2 parents 8208b5c + 8bced83 commit 91fdd6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/jobs/sync_project_languages_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def perform
55
Rails.logger.info "Starting ProjectLanguages sync job"
66

77
# Find projects that need language syncing using the scope
8-
projects_to_sync = Project.needs_language_sync.limit(25).to_a
8+
projects_to_sync = Project.needs_language_sync.limit(10).to_a
99

1010
Rails.logger.info "Found #{projects_to_sync.count} projects to sync"
1111

0 commit comments

Comments
 (0)