chore(delayed_job/sentry): don't wait for all (~25) attempts before reporting

This commit is contained in:
Colin Darie 2022-10-24 11:30:15 +02:00 committed by LeSim
parent 18a826be64
commit 59c93833a1

View file

@ -7,5 +7,5 @@ Sentry.init do |config|
config.enabled_environments = ['production', secrets[:environment].presence].compact
config.breadcrumbs_logger = [:active_support_logger]
config.traces_sample_rate = secrets[:enabled] ? 0.001 : nil
config.delayed_job.report_after_job_retries = true
config.delayed_job.report_after_job_retries = false # don't wait for all attempts before reporting
end