enable reliable_fetch
This commit is contained in:
parent
478bb5d53f
commit
3bbebb455b
2 changed files with 7 additions and 0 deletions
|
@ -263,3 +263,6 @@ EXPIRE_USER_DELETION_JOB_LIMIT=10000
|
|||
|
||||
# write anything to disable cron jobs
|
||||
CRON_JOBS_DISABLED=""
|
||||
|
||||
# disable SIDEKIQ_RELIABLE_FETCH
|
||||
# SKIP_RELIABLE_FETCH="true"
|
||||
|
|
|
@ -15,6 +15,10 @@ if ENV.has_key?('REDIS_SIDEKIQ_SENTINELS')
|
|||
password:,
|
||||
role: :master
|
||||
}
|
||||
|
||||
if ENV['SKIP_RELIABLE_FETCH'].blank?
|
||||
Sidekiq::ReliableFetch.setup_reliable_fetch!(config)
|
||||
end
|
||||
end
|
||||
|
||||
Sidekiq.configure_client do |config|
|
||||
|
|
Loading…
Reference in a new issue