mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
ensure statistic collection is on
This commit is contained in:
parent
48f0323032
commit
25fb684565
@ -6,9 +6,11 @@ end
|
||||
|
||||
Sidekiq.configure_server do |config|
|
||||
config.redis = Discourse.sidekiq_redis_config
|
||||
# add our pausable middleware
|
||||
|
||||
config.server_middleware do |chain|
|
||||
chain.add Sidekiq::Pausable
|
||||
# ensure statistic middleware is included in case of a fork
|
||||
chain.add Sidekiq::Statistic::Middleware
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user