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

Method handle_ttou

gunicorn/arbiter.py:313–321  ·  view source on GitHub ↗

\ SIGTTOU handling. Decreases the number of workers by one.

(self)

Source from the content-addressed store, hash-verified

311 self.manage_workers()
312
313 def handle_ttou(self):
314 """\
315 SIGTTOU handling.
316 Decreases the number of workers by one.
317 """
318 if self.num_workers <= 1:
319 return
320 self.num_workers -= 1
321 self.manage_workers()
322
323 def handle_usr1(self):
324 """\

Callers

nothing calls this directly

Calls 1

manage_workersMethod · 0.95

Tested by

no test coverage detected