MCPcopy
hub / github.com/encode/uvicorn / handle_hup

Method handle_hup

uvicorn/supervisors/multiprocess.py:204–206  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

202 self.should_exit.set()
203
204 def handle_hup(self) -> None: # pragma: py-win32
205 logger.info("Received SIGHUP, restarting processes.")
206 self.restart_all()
207
208 def handle_ttin(self) -> None: # pragma: py-win32
209 logger.info("Received SIGTTIN, increasing the number of processes.")

Callers

nothing calls this directly

Calls 1

restart_allMethod · 0.95

Tested by

no test coverage detected