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

Method _stop_control_server

gunicorn/arbiter.py:979–988  ·  view source on GitHub ↗

\ Stop the control socket server.

(self)

Source from the content-addressed store, hash-verified

977 self._control_server = None
978
979 def _stop_control_server(self):
980 """\
981 Stop the control socket server.
982 """
983 if self._control_server:
984 try:
985 self._control_server.stop()
986 except Exception as e:
987 self.log.debug("Error stopping control server: %s", e)
988 self._control_server = None

Callers 1

haltMethod · 0.95

Calls 2

stopMethod · 0.45
debugMethod · 0.45

Tested by

no test coverage detected