소스 검색

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

bind() on Task instance was being called twice
Ask Solem Hoel 11 년 전
부모
커밋
ce55c4ccd6
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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):