Skip to content

Commit

Permalink
Revert "Log a warning when a worker was terminated due to a signal"
Browse files Browse the repository at this point in the history
This reverts commit b695b49.
  • Loading branch information
benoitc committed Dec 17, 2021
1 parent ff58e0c commit 76f8da2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions gunicorn/arbiter.py
Expand Up @@ -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:
Expand Down

0 comments on commit 76f8da2

Please sign in to comment.