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

Method signal

gunicorn/arbiter.py:213–215  ·  view source on GitHub ↗

Signal handler - NO LOGGING, just queue the signal.

(self, sig, frame)

Source from the content-addressed store, hash-verified

211 signal.signal(signal.SIGCHLD, self.signal_chld)
212
213 def signal(self, sig, frame):
214 """Signal handler - NO LOGGING, just queue the signal."""
215 self.SIG_QUEUE.put_nowait(sig)
216
217 def run(self):
218 "Main master loop."

Callers 9

init_signalsMethod · 0.80
init_signalsMethod · 0.80
init_signalsMethod · 0.80
init_signalsMethod · 0.80
init_signalsMethod · 0.80
test_init_signalsMethod · 0.80

Calls

no outgoing calls

Tested by 4

test_init_signalsMethod · 0.64