This commit is contained in:
@@ -360,7 +360,7 @@ class Inspect:
|
||||
* ``routing_key`` - Routing key used when task was published
|
||||
* ``priority`` - Priority used when task was published
|
||||
* ``redelivered`` - True if the task was redelivered
|
||||
* ``worker_pid`` - PID of worker processing the task
|
||||
* ``worker_pid`` - PID of worker processin the task
|
||||
|
||||
"""
|
||||
# signature used be unary: query_task(ids=[id1, id2])
|
||||
@@ -527,8 +527,7 @@ class Control:
|
||||
if result:
|
||||
for host in result:
|
||||
for response in host.values():
|
||||
if isinstance(response['ok'], set):
|
||||
task_ids.update(response['ok'])
|
||||
task_ids.update(response['ok'])
|
||||
|
||||
if task_ids:
|
||||
return self.revoke(list(task_ids), destination=destination, terminate=terminate, signal=signal, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user