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
The code referenced above wouldn't help solve for shutdown being configurable in terms of the timeout, in fact, because we never call into asyncore.loop we are no longer sending data to the network. This needs much bigger fixes.
Currently, when waitress receives a SIGINT or traps a SystemExit exception, it tries to shutdown the running task dispatcher.
The shutdown method embeds inside its function signature a hardcoded timeout value of 5 seconds.
This should not be hidden nor hardcoded. It should be exposed as a parameter to the operator.
The line of source code I'm talking about is here:
waitress/waitress/task.py
Line 118 in 68a38e9
and the only place it's called (I believe, outside of tests):
waitress/waitress/server.py
Line 127 in 68a38e9
The text was updated successfully, but these errors were encountered: