Skip to content

Commit be1cb04

Browse files
committed
perf(dashboard-agent-db): index the open investigations the sweep scans
1 parent 8b042be commit be1cb04

4 files changed

Lines changed: 934 additions & 1 deletion

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CREATE INDEX "investigations_open_updated_idx" ON "trigger_dashboard_agent"."investigations" USING btree ("updated_at") WHERE "trigger_dashboard_agent"."investigations"."state"->>'outcome' = 'in_progress';

0 commit comments

Comments
 (0)