Преглед на файлове

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

Ask Solem преди 9 години
родител
ревизия
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