phasync
Manual / Production

Manual

Production

Sizing, reloads, logging and shutdown.

Introduction#

--workers, --max-memory and --max-requests size and recycle worker processes; --watchdog replaces one whose event loop has stopped turning. A reload (SIGHUP) restarts every worker on the current code without dropping the process; a stop drains requests within --grace seconds. See Production for the defaults and what each one is for.

Guides#

Examples#

Reference#