Increase Dead set limit above default 10K or 6 months #5011
-
Hello Team, We use Sidekiq in one of our business-critical service. Recently, we faced one production incident which last for few hours. We want to process all these jobs, so to be safer for the next time, we want to increase the deadset. Please help us with this. Will highly appropriate any help here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The Retry set is unlimited, maybe you should not disable retries? Sidekiq.configure_server do |config|
config.options[:dead_max_jobs] = 100_000
end If a popular job is not important to keep around, set |
Beta Was this translation helpful? Give feedback.
The Retry set is unlimited, maybe you should not disable retries?
If a popular job is not important to keep around, set
sidekiq_options dead: false
so any failed instances do not quickly fill up your Dead set.