fix:喷码时偶尔出现不属于队列项的调整

This commit is contained in:
shijing 2026-05-29 09:32:47 +08:00
parent 39ae839692
commit 804746fde8
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ class LabelTemplateViewSet(CustomModelViewSet):
client = CoderClient(ip=ip, port=port)
coder_jobname = vdata.get("coder_jobname")
client.clear_queue()
if coder_jobname:
client.select_job(coder_jobname)
client.clear_queue()