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

Function on_starting

examples/http2_gevent/gunicorn_conf.py:65–69  ·  view source on GitHub ↗

Called just before the master process is initialized.

(server)

Source from the content-addressed store, hash-verified

63
64
65def on_starting(server):
66 """Called just before the master process is initialized."""
67 server.log.info("Starting HTTP/2 server with gevent worker...")
68 server.log.info(f"Workers: {workers}, Connections per worker: {worker_connections}")
69 server.log.info(f"HTTP/2 max streams: {http2_max_concurrent_streams}")
70
71
72def when_ready(server):

Callers

nothing calls this directly

Calls 1

infoMethod · 0.45

Tested by

no test coverage detected