mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-11 12:23:20 +00:00
ops query
This commit is contained in:
1 parent
4672102da4
commit
75523811e4
1 file changed
+6
-1
@@ -32,8 +32,13 @@ group by model_token
|
||||
order by attempts desc
|
||||
limit 50;
|
||||
|
||||
-- Kill all low priority pending, waiting, and in-progress jobs
|
||||
update tts_inference_jobs
|
||||
set status = 'dead'
|
||||
where status IN ('pending', 'started', 'attempt_failed')
|
||||
and priority_level IN (0, 1);
|
||||
|
||||
-- Kill pending jobs
|
||||
-- Kill all pending jobs
|
||||
update tts_inference_jobs
|
||||
set status = 'dead'
|
||||
where status = 'pending';
|
||||
|
||||
Reference in new issue
Block a user