mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-08 07:38:11 +08:00
Fix timeout override
Closes https://github.com/Koed00/django-q/issues/332
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ def async_task(func, *args, **kwargs):
|
||||
"""Queue a task for the cluster."""
|
||||
keywords = kwargs.copy()
|
||||
opt_keys = (
|
||||
'hook', 'group', 'save', 'sync', 'cached', 'ack_failure', 'iter_count', 'iter_cached', 'chain', 'broker')
|
||||
'hook', 'group', 'save', 'sync', 'cached', 'ack_failure', 'iter_count', 'iter_cached', 'chain', 'broker', 'timeout')
|
||||
q_options = keywords.pop('q_options', {})
|
||||
# get an id
|
||||
tag = uuid()
|
||||
|
||||
Reference in New Issue
Block a user