28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
From 76f8da24cbb992d168e01bda811452bcf3b8f5b3 Mon Sep 17 00:00:00 2001
|
|
From: benoitc <bchesneau@gmail.com>
|
|
Date: Fri, 17 Dec 2021 15:16:34 +0100
|
|
Subject: [PATCH] Revert "Log a warning when a worker was terminated due to a
|
|
signal"
|
|
|
|
This reverts commit b695b497b9b8e7351808848ab9e342219601742a.
|
|
---
|
|
gunicorn/arbiter.py | 6 ------
|
|
1 file changed, 6 deletions(-)
|
|
|
|
diff --git a/gunicorn/arbiter.py b/gunicorn/arbiter.py
|
|
index 24ec38744..7ca2f6b79 100644
|
|
--- a/gunicorn/arbiter.py
|
|
+++ b/gunicorn/arbiter.py
|
|
@@ -526,12 +526,6 @@ def reap_workers(self):
|
|
if exitcode == self.APP_LOAD_ERROR:
|
|
reason = "App failed to load."
|
|
raise HaltServer(reason, self.APP_LOAD_ERROR)
|
|
- if os.WIFSIGNALED(status):
|
|
- self.log.warning(
|
|
- "Worker with pid %s was terminated due to signal %s",
|
|
- wpid,
|
|
- os.WTERMSIG(status)
|
|
- )
|
|
|
|
worker = self.WORKERS.pop(wpid, None)
|
|
if not worker:
|