mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-19 05:13:01 +00:00
Enable UniqueRetryJobMiddleware even when called from sidekiq worker (#4836)
This commit is contained in:
parent
7d853b514a
commit
6859d4c028
|
@ -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…
Reference in a new issue