Enable UniqueRetryJobMiddleware even when called from sidekiq worker (#4836)

th-downstream
abcang 7 years ago committed by Eugen Rochko
parent 3c816b0a77
commit 0080804f44

@ -9,6 +9,9 @@ end
Sidekiq.configure_server do |config| Sidekiq.configure_server do |config|
config.redis = redis_params config.redis = redis_params
config.client_middleware do |chain|
chain.add Mastodon::UniqueRetryJobMiddleware
end
end end
Sidekiq.configure_client do |config| Sidekiq.configure_client do |config|

Loading…
Cancel
Save