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

Method handle_ttin

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

Source from the content-addressed store, hash-verified

206 self.restart_all()
207
208 def handle_ttin(self) -> None: # pragma: py-win32
209 logger.info("Received SIGTTIN, increasing the number of processes.")
210 self.processes_num += 1
211 process = Process(self.config, self.target, self.sockets)
212 process.start()
213 self.processes.append(process)
214
215 def handle_ttou(self) -> None: # pragma: py-win32
216 logger.info("Received SIGTTOU, decreasing number of processes.")

Callers

nothing calls this directly

Calls 2

startMethod · 0.95
ProcessClass · 0.85

Tested by

no test coverage detected