How to kill Sidekiq jobs in Ruby on Rails
06-Mar-2023 976
We’ve have all run into situations where we’d like to disable or cancel an errant Sidekiq job in production. The current solutions involve dumping the deploy queue for the specific job or deploying a hot fix to production to disable the job. Initially, these solutions tend to solve your problem, but as your app grows and your job queue gets complicated, you’ll want a solution that is more robust and almost immediate.In this post, we will learn how we built a Sidekiq Client Middleware to kill Sidekiq jobs in production without relying on deploys.
How to kill Sidekiq jobs in Ruby on Rails #ruby #rubydeveloper #rubyonrails #Sidekiq #Rails #sidekiq https://rubyonrails.ba/link/how-to-kill-sidekiq-jobs-in-ruby-on-rails