Follow up - 4c9919a23e
- Scheduler fails to execute ActiveJobLock cleanup job before application restart and deactivates it.
This commit is contained in:
parent
dd54f8a787
commit
fa2ff2138b
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ class ActiveJobLockCleanupJobScheduler < ActiveRecord::Migration[5.2]
|
||||||
name: 'Cleanup ActiveJob locks.',
|
name: 'Cleanup ActiveJob locks.',
|
||||||
method: 'ActiveJobLockCleanupJob.perform_now',
|
method: 'ActiveJobLockCleanupJob.perform_now',
|
||||||
period: 1.day,
|
period: 1.day,
|
||||||
|
last_run: Time.zone.now,
|
||||||
prio: 2,
|
prio: 2,
|
||||||
active: true,
|
active: true,
|
||||||
updated_by_id: 1,
|
updated_by_id: 1,
|
||||||
|
|
Loading…
Reference in a new issue