diff options
-rw-r--r-- | doc/development/background_migrations.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/development/background_migrations.md b/doc/development/background_migrations.md index a58f161fc30..72a34aa7de9 100644 --- a/doc/development/background_migrations.md +++ b/doc/development/background_migrations.md @@ -56,8 +56,7 @@ Usually it's better to enqueue jobs in bulk, for this you can use ```ruby BackgroundMigrationWorker.perform_bulk( [['BackgroundMigrationClassName', [1]], - ['BackgroundMigrationClassName', [2]], - ...] + ['BackgroundMigrationClassName', [2]]] ) ``` @@ -73,8 +72,7 @@ If you would like to schedule jobs in bulk with a delay, you can use ```ruby jobs = [['BackgroundMigrationClassName', [1]], - ['BackgroundMigrationClassName', [2]], - ...] + ['BackgroundMigrationClassName', [2]]] BackgroundMigrationWorker.perform_bulk_in(5.minutes, jobs) ``` |