We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1ce685 commit 4843514Copy full SHA for 4843514
1 file changed
internal/pkg/janitor/queries/old_job_biggest_id.sql
@@ -1,5 +1,5 @@
1
SELECT system_job_id
2
FROM jobs
3
WHERE updated_at < $1
4
-ORDER BY updated_at desc
+ORDER BY system_job_id desc
5
LIMIT 1
0 commit comments