Fixes #3581 - SessionTimeoutJob.perform_now scheduler job fails on update if scheduler process wasn't restarted

This commit is contained in:
Rolf Schmidt 2021-06-01 12:47:45 +00:00 committed by Thorsten Eckel
parent c4d2d7fd3b
commit 29ecba88aa

View file

@ -59,6 +59,7 @@ class InitSessionTimeout < ActiveRecord::Migration[5.2]
name: 'Cleanup dead sessions.',
method: 'SessionTimeoutJob.perform_now',
period: 1.minute,
last_run: 1.day.from_now,
prio: 2,
active: true,
updated_by_id: 1,