Przeglądaj źródła

Merge pull request #1537 from akshar-raaj/remove-extra-bind-call

bind() on Task instance was being called twice
Ask Solem Hoel 11 lat temu
rodzic
commit
ce55c4ccd6
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      celery/app/base.py

+ 0 - 1
celery/app/base.py

@@ -221,7 +221,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):