mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-26 20:45:37 +02:00
The GetIssueUsageSummary query joins agent_task_queue filtered by issue_id across all statuses. The existing partial index (migration 022) only covers queued/dispatched rows, so completed tasks require a sequential scan. Add a general index to prevent performance degradation as task volume grows.