mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 08:02:40 +00:00
DISABLE_CONCURRENCY_LIMIT 2
This commit is contained in:
@@ -2037,7 +2037,7 @@ pub async fn pull(
|
||||
nestimated
|
||||
).fetch_optional(&mut *tx).await?.flatten().unwrap_or(0) as i32;
|
||||
tracing::info!("estimated_next_schedule_timestamp: {:?}, jobs_in_window: {jobs_in_window}, nestimated: {nestimated}, inc: {inc}", estimated_next_schedule_timestamp);
|
||||
if jobs_in_window < job_custom_concurrent_limit {
|
||||
if jobs_in_window < job_custom_concurrent_limit || *DISABLE_CONCURRENCY_LIMIT {
|
||||
break;
|
||||
} else {
|
||||
estimated_next_schedule_timestamp = nestimated;
|
||||
|
||||
Reference in New Issue
Block a user