Browse Source

Forgot to remove monkeypatch in pool

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

+ 0 - 2
celery/pool.py

@@ -12,7 +12,6 @@ from operator import isNumberType
 from celery.datastructures import ExceptionInfo
 from celery.datastructures import ExceptionInfo
 from celery.utils import noop
 from celery.utils import noop
 from celery.utils.functional import curry
 from celery.utils.functional import curry
-from celery.patch import monkeypatch
 
 
 
 
 def pid_is_dead(pid):
 def pid_is_dead(pid):
@@ -198,7 +197,6 @@ class TaskPool(object):
         self.limit = limit
         self.limit = limit
         self.logger = logger or multiprocessing.get_logger()
         self.logger = logger or multiprocessing.get_logger()
         self._pool = None
         self._pool = None
-        monkeypatch() # Patch "no processName" logging error.
 
 
     def start(self):
     def start(self):
         """Run the task pool.
         """Run the task pool.