瀏覽代碼

Merge pull request #1212 from simon-engledew/patch-1

Pass additional options in Task.retry
Ask Solem Hoel 12 年之前
父節點
當前提交
06e9bd2976
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      celery/app/task.py

+ 1 - 0
celery/app/task.py

@@ -565,6 +565,7 @@ class Task(object):
         S = self.subtask_from_request(
             request, args, kwargs,
             countdown=countdown, eta=eta, retries=retries,
+            **options
         )
 
         if max_retries is not None and retries > max_retries: