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

Method _shutdown

gunicorn/dirty/worker.py:205–208  ·  view source on GitHub ↗

Initiate async shutdown.

(self)

Source from the content-addressed store, hash-verified

203 self._loop.call_soon_threadsafe(self._shutdown)
204
205 def _shutdown(self):
206 """Initiate async shutdown."""
207 if self._server:
208 self._server.close()
209
210 def load_apps(self):
211 """Load all configured dirty apps."""

Callers 2

Calls 1

closeMethod · 0.45

Tested by 2