ensure statistic collection is on
This commit is contained in:
parent
48f0323032
commit
25fb684565
|
@ -6,9 +6,11 @@ end
|
||||||
|
|
||||||
Sidekiq.configure_server do |config|
|
Sidekiq.configure_server do |config|
|
||||||
config.redis = Discourse.sidekiq_redis_config
|
config.redis = Discourse.sidekiq_redis_config
|
||||||
# add our pausable middleware
|
|
||||||
config.server_middleware do |chain|
|
config.server_middleware do |chain|
|
||||||
chain.add Sidekiq::Pausable
|
chain.add Sidekiq::Pausable
|
||||||
|
# ensure statistic middleware is included in case of a fork
|
||||||
|
chain.add Sidekiq::Statistic::Middleware
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue