Skip to content

Commit 8d4fa5a

Browse files
committed
fixed sql comments
1 parent 5120fb1 commit 8d4fa5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/database/queries/provisionerjobs.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,14 +275,14 @@ FROM
275275
provisioner_jobs
276276
WHERE
277277
(
278-
-- If the job has not been started within $1, reap it.
278+
-- If the job has not been started before @pending_since, reap it.
279279
updated_at < @pending_since
280280
AND started_at IS NULL
281281
AND completed_at IS NULL
282282
)
283283
OR
284284
(
285-
-- If the job has been started but not completed within $2, reap it.
285+
-- If the job has been started but not completed before @hung_since, reap it.
286286
updated_at < @hung_since
287287
AND started_at IS NOT NULL
288288
AND completed_at IS NULL

0 commit comments

Comments
 (0)