Fixes #3581 - SessionTimeoutJob.perform_now scheduler job fails on update if scheduler process wasn't restarted
This commit is contained in:
parent
c4d2d7fd3b
commit
29ecba88aa
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ class InitSessionTimeout < ActiveRecord::Migration[5.2]
|
||||||
name: 'Cleanup dead sessions.',
|
name: 'Cleanup dead sessions.',
|
||||||
method: 'SessionTimeoutJob.perform_now',
|
method: 'SessionTimeoutJob.perform_now',
|
||||||
period: 1.minute,
|
period: 1.minute,
|
||||||
|
last_run: 1.day.from_now,
|
||||||
prio: 2,
|
prio: 2,
|
||||||
active: true,
|
active: true,
|
||||||
updated_by_id: 1,
|
updated_by_id: 1,
|
||||||
|
|
Loading…
Reference in a new issue