enable reliable_fetch

This commit is contained in:
simon lehericey 2024-03-22 09:36:58 +01:00
parent 478bb5d53f
commit 3bbebb455b
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
2 changed files with 7 additions and 0 deletions

View file

@ -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"

View file

@ -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|