mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-11 04:16:55 +00:00
comments
This commit is contained in:
1 parent
2f1d682438
commit
85ecce7b38
1 file changed
+2
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user