summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-29 12:10:29 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-07-07 15:08:15 +0200
commitc2efb8acc609eaec799b536412d1f66311aa1cf7 (patch)
tree43b0976a409796f21c0a50712ddfde7baad90914 /app/workers
parent945cdf326edcafdcd7a1d2aeaef611d888a4828e (diff)
downloadgitlab-ce-c2efb8acc609eaec799b536412d1f66311aa1cf7.tar.gz
Use ActiveRecord 5 batching to schedule bg migration
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/background_migration_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/background_migration_worker.rb b/app/workers/background_migration_worker.rb
index 751f37a3c39..23c297de8bc 100644
--- a/app/workers/background_migration_worker.rb
+++ b/app/workers/background_migration_worker.rb
@@ -14,7 +14,7 @@ class BackgroundMigrationWorker
'args' => jobs)
end
- # Schedules a number of jobs in bulk, with a delay.
+ # Schedules multiple jobs in bulk, with a delay.
#
def self.perform_bulk_in(delay, jobs)
now = Time.now.to_f