Skip to content

Commit

Permalink
improve label idx performances
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Apr 23, 2024
1 parent f105d74 commit 2c773b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/windmill-api/src/jobs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3747,6 +3747,7 @@ fn list_completed_jobs_query(

if let Some(label) = &lq.label {
sqlb.and_where("result->>'wm_label' = ?".bind(label));
sqlb.and_where("result ? 'wm_label'");
}

if lq.is_not_schedule.unwrap_or(false) {
Expand Down

0 comments on commit 2c773b8

Please sign in to comment.