Skip to content

Commit 6e87e03

Browse files
committed
fix: prioritize dependency jobs by default
1 parent dfae7a7 commit 6e87e03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/windmill-queue/src/jobs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4427,6 +4427,8 @@ pub async fn push<'c, 'd>(
44274427
// prioritize flow steps to drain the queue faster
44284428
let final_priority = if flow_step_id.is_some() && final_priority.is_none() {
44294429
Some(0)
4430+
} else if job_kind == JobKind::Dependencies {
4431+
Some(0)
44304432
} else {
44314433
final_priority
44324434
};

0 commit comments

Comments
 (0)