mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-14 13:52:11 +00:00
query
This commit is contained in:
1 parent
596434868c
commit
2094ab2fe8
1 file changed
+4
@@ -7,3 +7,7 @@ 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';
|
||||
|
||||
update generic_inference_jobs
|
||||
set status = 'dead'
|
||||
where status IN ('pending', 'started', 'attempt_failed');
|
||||
Reference in new issue
Block a user