You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Patch adds class variable 'timeout' to BaseServer, and
methods await_request and handle_timeout. Backwards
compatible API -- timeout is None by default, meaning
await_request jumps directly to get_request and never
calls handle_timeout.
Facilitates periodic server bookkeeping (check config
files, intervalic logging, etc.), if you supply your
own serve loop.
Additionally, ForkingMixin sets timeout to 300 seconds,
and overrides handle_timeout to call collect_children.
Upshot: n zombies linger in process table until 5
minutes pass or new request arrives, whichever comes first.
docstring updates, too
(s/reuse_address/allow_reuse_address, etc.)
Committed to Python 2.6 in rev. 60080. Thanks for your contribution!
Whenever you find time, it would be nice if you could sign and submit a
Python contributor agreement; please see http://www.python.org/psf/contrib/ for the forms.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: