mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 16:02:28 +00:00
improve label idx performances
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user