lib/sidekiq/throttled/web.rb in sidekiq-throttled-0.8.2 vs lib/sidekiq/throttled/web.rb in sidekiq-throttled-0.9.0
- old
+ new
@@ -54,11 +54,11 @@
Registry.get(params[:id], &:reset!)
redirect "#{root_path}throttled"
end
end
- # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
+ # rubocop:disable Metrics/AbcSize
def register_enhanced_queues_tab(app)
pauser = QueuesPauser.instance
app.get("/enhanced-queues") do
@queues = Sidekiq::Queue.all
@@ -73,10 +73,10 @@
end
redirect "#{root_path}enhanced-queues"
end
end
- # rubocop:enable Metrics/MethodLength, Metrics/AbcSize
+ # rubocop:enable Metrics/AbcSize
end
end
end
end