Browse Source

celery.worker.pool: import billiard.pool.Pool instead of old DynamicPool

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

+ 1 - 1
celery/worker/pool.py

@@ -3,7 +3,7 @@
 Process Pools.
 
 """
-from billiard.pool import DynamicPool
+from billiard.pool import Pool
 from billiard.utils.functional import curry
 
 from celery import log