diff options
Diffstat (limited to 'app')
-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 e6ca1159b38..e7ed71a687c 100644 --- a/app/workers/background_migration_worker.rb +++ b/app/workers/background_migration_worker.rb @@ -20,7 +20,7 @@ class BackgroundMigrationWorker now = Time.now.to_i schedule = now + delay.to_i - raise ArgumentError if schedule <= now + raise ArgumentError, 'Delay time invalid!' if schedule <= now Sidekiq::Client.push_bulk('class' => self, 'queue' => sidekiq_options['queue'], |