소스 검색

Removes app.default_connection() (use app.connection_or_acquire())

Ask Solem 8 년 전
부모
커밋
781a81cf7e
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      celery/app/base.py

+ 0 - 1
celery/app/base.py

@@ -761,7 +761,6 @@ class Celery:
                 will be acquired from the connection pool.
         """
         return FallbackContext(connection, self._acquire_connection, pool=pool)
-    default_connection = connection_or_acquire  # XXX compat
 
     def producer_or_acquire(self, producer=None):
         """For use within a :keyword:`with` statement to get a producer