about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-26 12:10:48 +0200
committerGitHub <noreply@github.com>2022-10-26 12:10:48 +0200
commitbf0ab3e0fac54515c13beef4ec09b0455f1bce67 (patch)
tree2e3ae5595ef28fd9c979225e46071d5d8cad711f /config/initializers
parent1ae508bf2faae016b88d15e273b0dc01de4fd7af (diff)
Fix vacuum scheduler missing lock, locks never expiring (#19458)
Remove vacuuming of orphaned preview cards
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/sidekiq.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb
index c1327053d..9d2abf074 100644
--- a/config/initializers/sidekiq.rb
+++ b/config/initializers/sidekiq.rb
@@ -35,4 +35,5 @@ SidekiqUniqueJobs.configure do |config|
   config.reaper_count    = 1000
   config.reaper_interval = 600
   config.reaper_timeout  = 150
+  config.lock_ttl        = 50.days.to_i
 end