Merge pull request #10929 from mfo/US/reliable-fetch-strict
ETQ tech, fait tourner sidekiq en mode "strict" avec reliable fetch
This commit is contained in:
commit
95c434d91a
1 changed files with 2 additions and 1 deletions
|
@ -26,13 +26,14 @@ end
|
|||
|
||||
Sidekiq.configure_server do |config|
|
||||
config.redis = sidekiq_redis
|
||||
|
||||
if ENV['PROMETHEUS_EXPORTER_ENABLED'] == 'enabled'
|
||||
Yabeda.configure!
|
||||
Yabeda::Prometheus::Exporter.start_metrics_server!
|
||||
end
|
||||
|
||||
if ENV['SKIP_RELIABLE_FETCH'].blank?
|
||||
config[:strict] = true
|
||||
|
||||
Sidekiq::ReliableFetch.setup_reliable_fetch!(config)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue