lib/sidekiq/web/application.rb in sidekiq-5.2.1 vs lib/sidekiq/web/application.rb in sidekiq-5.2.2
- old
+ new
@@ -194,9 +194,15 @@
Sidekiq::RetrySet.new.retry_all
redirect "#{root_path}retries"
end
+ post "/retries/all/kill" do
+ Sidekiq::RetrySet.new.kill_all
+
+ redirect "#{root_path}retries"
+ end
+
post "/retries/:key" do
job = Sidekiq::RetrySet.new.fetch(*parse_params(route_params[:key])).first
retry_or_delete_or_kill job, params if job