sidekiq.rb 299 Bytes
Newer Older
Eugen Rochko's avatar
Eugen Rochko committed
1
Sidekiq.configure_client do |config|
2
  Sidekiq::Status.configure_client_middleware config, expiration: 1.day
Eugen Rochko's avatar
Eugen Rochko committed
3 4 5
end

Sidekiq.configure_server do |config|
6 7
  Sidekiq::Status.configure_server_middleware config, expiration: 1.day
  Sidekiq::Status.configure_client_middleware config, expiration: 1.day
Eugen Rochko's avatar
Eugen Rochko committed
8
end