This commit is contained in:
Brandon Thomas committed 2023-11-29 03:07:07 -05:00
1 parent 2f1d682438
commit 85ecce7b38
1 file changed
+2
+2
View File
@@ -8,10 +8,12 @@ update generic_inference_jobs set status = 'dead' where maybe_routing_tag IS NOT
-- Get pending jobs
select count(*) from generic_inference_jobs where status = 'pending';
-- Kill outstanding jobs
update generic_inference_jobs
set status = 'dead'
where status IN ('pending', 'started', 'attempt_failed');
-- Kill outstanding jobs of type
update generic_inference_jobs
set status = 'dead'
where status IN ('pending', 'started', 'attempt_failed')