There was an error while loading. Please reload this page.
1 parent 60eed10 commit 2ca9da9Copy full SHA for 2ca9da9
1 file changed
services/rend-api/src/main.rs
@@ -1696,7 +1696,7 @@ async fn publish_media_queue_metrics(state: &AppState) -> Result<()> {
1696
WHERE (attempts < max_attempts AND status IN ('queued', 'deferred_budget') AND run_after <= now())
1697
OR (status = 'running' AND lease_expires_at <= now())
1698
),
1699
- COALESCE(max(EXTRACT(EPOCH FROM (now() - created_at))) FILTER (
+ COALESCE(max(EXTRACT(EPOCH FROM (now() - job.created_at))) FILTER (
1700
1701
1702
), 0)::double precision,
0 commit comments