hooks#

top.gunicorn.hooks module.

Module description#

Gunicorn integration for web-top.

This module provides hooks you can refer in Gunicorn config.

See Gunicorn settings

Functions#

post_request(worker, req, environ, resp)

Gunicorn post_request hook.

pre_request(worker, req)

Gunicorn pre_request hook.

when_ready(server)

Called when the web server restarts.