mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2026-05-27 15:54:29 +08:00
[fix] Update client filtering to handle tuple structure in pending_tasks
This commit is contained in:
parent
ddc9cd0fd5
commit
e923434d08
@ -1610,9 +1610,9 @@ async def queue_count(request):
|
|||||||
if task.client_id == client_id
|
if task.client_id == client_id
|
||||||
]
|
]
|
||||||
pending_client_tasks = [
|
pending_client_tasks = [
|
||||||
task
|
item
|
||||||
for task in task_queue.pending_tasks
|
for priority, counter, item in task_queue.pending_tasks
|
||||||
if task.client_id == client_id
|
if item.client_id == client_id
|
||||||
]
|
]
|
||||||
history_client_tasks = {
|
history_client_tasks = {
|
||||||
ui_id: task
|
ui_id: task
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user