Ver código fonte

bind() on Task instance was being called twice

Akshar Raaj 11 anos atrás
pai
commit
7282b21209
1 arquivos alterados com 0 adições e 1 exclusões
  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):