Jelajahi Sumber

Change the log message to be a warning instead of critical.

Ionel Cristian Mărieș 11 tahun lalu
induk
melakukan
a319c04986
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      celery/concurrency/asynpool.py

+ 1 - 1
celery/concurrency/asynpool.py

@@ -973,7 +973,7 @@ class AsynPool(_pool.Pool):
         try:
             proc = next(w for w in self._pool if w.pid == pid)
         except StopIteration:
-            logger.critical("process with pid=%s already exited :(  this will be handled elsewhere.", pid)
+            logger.warning("process with pid=%s already exited :( - handling this elsewhere ...", pid)
             return
         assert proc.inqW_fd not in self._fileno_to_inq
         assert proc.inqW_fd not in self._all_inqueues