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

Method handle_chld

gunicorn/arbiter.py:269–272  ·  view source on GitHub ↗

SIGCHLD handling - called from main loop, safe to log.

(self)

Source from the content-addressed store, hash-verified

267 self.SIG_QUEUE.put_nowait(sig)
268
269 def handle_chld(self):
270 """SIGCHLD handling - called from main loop, safe to log."""
271 self.reap_workers()
272 self.reap_dirty_arbiter()
273
274 # SIGCLD is an alias for SIGCHLD on Linux. The SIG_NAMES dict may map
275 # to either "chld" or "cld" depending on iteration order of dir(signal).

Callers

nothing calls this directly

Calls 2

reap_workersMethod · 0.95
reap_dirty_arbiterMethod · 0.95

Tested by

no test coverage detected