Fix worker keys not returned in queues.get_all_ex

This commit is contained in:
allegroai 2023-07-26 18:51:20 +03:00
parent 3927604648
commit 21ed8559bf

View File

@ -242,6 +242,7 @@ class QueueBLL(object):
{ {
"name": w.id, "name": w.id,
"ip": w.ip, "ip": w.ip,
"key": w.key,
"task": w.task.to_struct() if w.task else None, "task": w.task.to_struct() if w.task else None,
} }
for w in queue_workers.get(item["id"], []) for w in queue_workers.get(item["id"], [])