File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
application/src/cron_jobs Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ use crate::{
82
82
83
83
mod metrics;
84
84
85
- const INITIAL_BACKOFF : Duration = Duration :: from_millis ( 10 ) ;
86
- const MAX_BACKOFF : Duration = Duration :: from_secs ( 5 ) ;
85
+ const INITIAL_BACKOFF : Duration = Duration :: from_millis ( 500 ) ;
86
+ const MAX_BACKOFF : Duration = Duration :: from_secs ( 15 ) ;
87
87
88
88
// Truncate result and log lines for cron job logs since they are only
89
89
// used for the dashboard
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ pub static SCHEDULED_JOB_EXECUTION_PARALLELISM: LazyLock<usize> =
279
279
280
280
/// Initial backoff in milliseconds on a system error from a scheduled job.
281
281
pub static SCHEDULED_JOB_INITIAL_BACKOFF : LazyLock < Duration > =
282
- LazyLock :: new ( || Duration :: from_millis ( env_config ( "SCHEDULED_JOB_INITIAL_BACKOFF_MS" , 10 ) ) ) ;
282
+ LazyLock :: new ( || Duration :: from_millis ( env_config ( "SCHEDULED_JOB_INITIAL_BACKOFF_MS" , 500 ) ) ) ;
283
283
284
284
/// Max backoff in seconds on a system error from a scheduled job.
285
285
/// Scheduled jobs can hit many OCCs, so we may need to slow them down if they
You can’t perform that action at this time.
0 commit comments