-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebHostOptions default ShutdownTimeout does not match HostOptions default ShutdownTimeout #48605
Labels
area-hosting
Includes Hosting
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Milestone
Comments
@ReubenBond Does it make sense to propagate this change? I like consistency, but I'd like to confirm there isn't a reason to keep them independent. |
Yes, it makes sense. They should all have the same default values |
Sounds like we're on board with the suggestion. @hwoodiwiss, would you like to submit a PR for this? |
I've got a PR open for this here #48606 |
🤦 So you do |
ghost
locked as resolved and limited conversation to collaborators
Jul 14, 2023
amcasey
added
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
and removed
area-runtime
labels
Aug 25, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area-hosting
Includes Hosting
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Describe the bug
The default value for
ShutdownTimeout
inMicrosoft.Extensions.Hosting.HostOptions
was updated to 30 seconds as part of dotnet/runtime#63709The default value for
ShutdownTimeout
inWebHostOptions
should be made consistent with this so that the default shutdown behaviour is consistent for services usingGenericWebHostService
andWebHost
.Expected Behavior
Default values for
HostOptions.ShutdownTimeout
andWebHostOptions.ShutdownTimeout
should match for consistent stopping behaviour across both whenShutdownTimeout
has not been set via configuration (Config for key:shutdownTimeoutSeconds
)Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: