mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-07 23:58:12 +08:00
Fixes bug where task with a group only has a group result.
This commit is contained in:
@@ -426,7 +426,6 @@ def save_cached(task, broker):
|
|||||||
iter_count = task.get('iter_count', 0)
|
iter_count = task.get('iter_count', 0)
|
||||||
# if it's a group append to the group list
|
# if it's a group append to the group list
|
||||||
if group:
|
if group:
|
||||||
task_key = '{}:{}:{}'.format(broker.list_key, group, task['id'])
|
|
||||||
group_key = '{}:{}:keys'.format(broker.list_key, group)
|
group_key = '{}:{}:keys'.format(broker.list_key, group)
|
||||||
group_list = broker.cache.get(group_key) or []
|
group_list = broker.cache.get(group_key) or []
|
||||||
# if it's an iter group, check if we are ready
|
# if it's an iter group, check if we are ready
|
||||||
|
|||||||
Reference in New Issue
Block a user