Browse Source

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

Ask Solem 8 years ago
parent
commit
781a81cf7e
1 changed files with 0 additions and 1 deletions
  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