Ask Solem 11 anni fa
parent
commit
f1dac6976c
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      celery/worker/__init__.py

+ 2 - 1
celery/worker/__init__.py

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