mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-23 10:58:12 +08:00
Also fetches name override from q_options
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ def async(func, *args, **kwargs):
|
||||
"""Queue a task for the cluster."""
|
||||
keywords = kwargs.copy()
|
||||
opt_keys = ('hook', 'group', 'save', 'sync', 'cached', 'iter_count', 'iter_cached', 'chain', 'broker')
|
||||
q_options = keywords.pop('q_options', None)
|
||||
q_options = keywords.pop('q_options', {})
|
||||
# get an id
|
||||
tag = uuid()
|
||||
# build the task package
|
||||
|
||||
Reference in New Issue
Block a user