Skip to content

Commit 0f3789b

Browse files
committed
let archive allow 15 mins
1 parent d4ffbf5 commit 0f3789b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/handlers/job_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def post(self):
641641
SELECT id
642642
FROM job
643643
WHERE id = %s
644-
AND (state = 'running' OR end_date > NOW() - INTERVAL '5 minutes')
644+
AND (state = 'running' OR end_date > NOW() - INTERVAL '15 minutes')
645645
''', [job_id])
646646

647647
if not j:

0 commit comments

Comments
 (0)