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

Function _after_fork_child

gunicorn/ctl/server.py:62–66  ·  view source on GitHub ↗

Called in child after fork() - cleanup references.

()

Source from the content-addressed store, hash-verified

60
61
62def _after_fork_child():
63 """Called in child after fork() - cleanup references."""
64 # In the child process (worker), we don't need the control server.
65 # Just clear the references without trying to stop anything.
66 _active_servers.clear()
67
68
69class ControlSocketServer:

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected