mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 16:02:19 +00:00
increase min re-scheduling
This commit is contained in:
@@ -1799,7 +1799,7 @@ pub async fn pull<R: rsmq_async::RsmqConnection + Send + Clone>(
|
||||
|
||||
let now = min_started_at.now.unwrap();
|
||||
let min_started_p_inc = (min_started_at.min_started_at.unwrap_or(now) + inc)
|
||||
.max(now + Duration::try_seconds(1).unwrap_or_default());
|
||||
.max(now + Duration::try_seconds(3).unwrap_or_default());
|
||||
|
||||
let mut estimated_next_schedule_timestamp = min_started_p_inc;
|
||||
loop {
|
||||
|
||||
Reference in New Issue
Block a user