소스 검색

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: