Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 12de2fcb11
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.492 kb
require "sidekiq/web"
require "sidekiq/processor"
require "sidekiq/failures/version"
require "sidekiq/failures/middleware"
require "sidekiq/failures/web_extension"
module Sidekiq
module Failures
end
end
Sidekiq::Web.register Sidekiq::Failures::WebExtension
if Sidekiq::Web.tabs.is_a?(Array)
# For sidekiq < 2.5
Sidekiq::Web.tabs << "failures"
else
Sidekiq::Web.tabs["Failures"] = "failures"
end
Sidekiq.server_middleware do |chain|
chain.add Sidekiq::Failures::Middleware
end
Jump to Line
Something went wrong with that request. Please try again.