Browse Source

Removes compat app.default_producer() (use app.producer_or_acquire())

Ask Solem 9 năm trước cách đây
mục cha
commit
b3f148c5e0
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      celery/app/base.py

+ 0 - 1
celery/app/base.py

@@ -773,7 +773,6 @@ class Celery:
         return FallbackContext(
             producer, self.producer_pool.acquire, block=True,
         )
-    default_producer = producer_or_acquire  # XXX compat
 
     def prepare_config(self, c):
         """Prepare configuration before it is merged with the defaults."""