MCPcopy
hub / github.com/benoitc/gunicorn / handle_usr1_signal

Method handle_usr1_signal

gunicorn/workers/gasgi.py:138–140  ·  view source on GitHub ↗

Handle SIGUSR1 - reopen log files.

(self)

Source from the content-addressed store, hash-verified

136 self.alive = False
137
138 def handle_usr1_signal(self):
139 """Handle SIGUSR1 - reopen log files."""
140 self.log.reopen_files()
141
142 def handle_winch_signal(self):
143 """Handle SIGWINCH - ignored in worker."""

Callers

nothing calls this directly

Calls 1

reopen_filesMethod · 0.45

Tested by

no test coverage detected