net/http: the Server.Shutdown listener polling interval causes shutdown delay #42156
Labels
Milestone
Comments
Change https://golang.org/cl/264479 mentions this issue: |
/cc @mikioh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The fix for #33313 ensured that Shutdown waits for listeners to be closed but uses a fixed polling interval of 500ms. This causes Shutdown to almost always take at least 500ms which can be noticeable in interactive contexts.
It would be nice if the polling started with a small interval and backed off to 500ms or so.
The text was updated successfully, but these errors were encountered: