Explorar o código

bind() on Task instance was being called twice

Akshar Raaj %!s(int64=11) %!d(string=hai) anos
pai
achega
7282b21209
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      celery/app/base.py

+ 0 - 1
celery/app/base.py

@@ -224,7 +224,6 @@ class Celery(object):
             '__doc__': fun.__doc__,
             '__module__': fun.__module__}, **options))()
         task = self._tasks[T.name]  # return global instance.
-        task.bind(self)
         return task
 
     def finalize(self):