Explorar el Código

Soft time limit error showed Trues instead of the timeout in seconds

Ask Solem hace 8 años
padre
commit
86e7eed314
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      celery/worker/request.py

+ 1 - 1
celery/worker/request.py

@@ -303,7 +303,7 @@ class Request(object):
         task_ready(self)
         if soft:
             warn('Soft time limit (%ss) exceeded for %s[%s]',
-                 soft, self.name, self.id)
+                 timeout, self.name, self.id)
             exc = SoftTimeLimitExceeded(soft)
         else:
             error('Hard time limit (%ss) exceeded for %s[%s]',