chore(delayed_job/sentry): don't wait for all (~25) attempts before reporting
This commit is contained in:
parent
18a826be64
commit
59c93833a1
1 changed files with 1 additions and 1 deletions
|
@ -7,5 +7,5 @@ Sentry.init do |config|
|
||||||
config.enabled_environments = ['production', secrets[:environment].presence].compact
|
config.enabled_environments = ['production', secrets[:environment].presence].compact
|
||||||
config.breadcrumbs_logger = [:active_support_logger]
|
config.breadcrumbs_logger = [:active_support_logger]
|
||||||
config.traces_sample_rate = secrets[:enabled] ? 0.001 : nil
|
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
|
end
|
||||||
|
|
Loading…
Reference in a new issue