Skip to content

Commit bc39603

Browse files
committed
Add max_requests and max_requests_jitter to configuration docs
This was missed in 7c39c68
1 parent b8197d5 commit bc39603

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/how_to_guides/configuring.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ logger_class N/A Type of class to use fo
140140
loglevel ``--log-level`` The (error) log level. ``INFO``
141141
max_app_queue_size N/A The maximum number of events to queue up 10
142142
sending to the ASGI application.
143+
max_requests ``--max-requests`` Maximum number of requests a worker will
144+
process before restarting.
145+
max_requests_jitter ``--max-requests-jitter`` This jitter causes the max-requests per worker 0
146+
to be randomized by
147+
``randint(0, max_requests_jitter)``
143148
pid_path ``-p``, ``--pid`` Location to write the PID (Program ID) to.
144149
quic_bind ``--quic-bind`` The UDP/QUIC host/address to bind to. See
145150
*bind* for formatting options.

0 commit comments

Comments
 (0)