Skip to content

Commit 76f8da2

Browse files
committed
Revert "Log a warning when a worker was terminated due to a signal"
This reverts commit b695b49.
1 parent ff58e0c commit 76f8da2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

gunicorn/arbiter.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -526,12 +526,6 @@ def reap_workers(self):
526526
if exitcode == self.APP_LOAD_ERROR:
527527
reason = "App failed to load."
528528
raise HaltServer(reason, self.APP_LOAD_ERROR)
529-
if os.WIFSIGNALED(status):
530-
self.log.warning(
531-
"Worker with pid %s was terminated due to signal %s",
532-
wpid,
533-
os.WTERMSIG(status)
534-
)
535529

536530
worker = self.WORKERS.pop(wpid, None)
537531
if not worker:

0 commit comments

Comments
 (0)