net/http: the Server.Shutdown listener polling interval causes shutdown delay #42156
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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: