diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-06-29 12:10:29 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-07 15:08:15 +0200 |
commit | c2efb8acc609eaec799b536412d1f66311aa1cf7 (patch) | |
tree | 43b0976a409796f21c0a50712ddfde7baad90914 /app/workers | |
parent | 945cdf326edcafdcd7a1d2aeaef611d888a4828e (diff) | |
download | gitlab-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.rb | 2 |
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 |