Przeglądaj źródła

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

Ionel Cristian Mărieș 11 lat temu
rodzic
commit
a319c04986
1 zmienionych plików z 1 dodań i 1 usunięć
  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