Skip to content

Commit 41a2c54

Browse files
committed
The Tasks page Queued count didn’t include Delayed runs (since ClickHouse switchover)
1 parent de56641 commit 41a2c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal-packages/clickhouse/src/taskRuns.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export function getCurrentRunningStats(ch: ClickhouseReader, settings?: ClickHou
178178
organization_id = {organizationId: String}
179179
AND project_id = {projectId: String}
180180
AND environment_id = {environmentId: String}
181-
AND status IN ('PENDING', 'WAITING_FOR_DEPLOY', 'WAITING_TO_RESUME', 'QUEUED', 'EXECUTING')
181+
AND status IN ('PENDING', 'WAITING_FOR_DEPLOY', 'WAITING_TO_RESUME', 'QUEUED', 'EXECUTING', 'DELAYED')
182182
AND _is_deleted = 0
183183
AND created_at >= now() - INTERVAL {days: Int64} DAY
184184
GROUP BY

0 commit comments

Comments
 (0)