浏览代码

Bubfixes for #1129

Ask Solem 12 年之前
父节点
当前提交
f1dac6976c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      celery/worker/__init__.py

+ 2 - 1
celery/worker/__init__.py

@@ -153,7 +153,8 @@ class Pool(bootsteps.StartStopComponent):
             if hard:
                 trefs[job] = apply_at(
                     now() + (hard - soft),
-                    _on_hard_timeout, (job, soft, hard, hub))
+                    _on_hard_timeout, (job, ),
+                )
             try:
                 result = cache[job]
             except KeyError: