mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
ensure statistic collection is on
This commit is contained in:
parent
48f0323032
commit
25fb684565
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue