mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-29 04:01:37 +01:00
Fix "undefined method ago
for 86400:Integer"
This commit is contained in:
parent
1afaba9639
commit
c3b6f263b3
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
class Scheduler::IpCleanupScheduler
|
||||
include Sidekiq::Worker
|
||||
|
||||
IP_RETENTION_PERIOD = ENV.fetch('IP_RETENTION_PERIOD', 1.year).to_i.freeze
|
||||
IP_RETENTION_PERIOD = ENV.fetch('IP_RETENTION_PERIOD', 1.year).to_i.seconds.freeze
|
||||
|
||||
sidekiq_options retry: 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue