ShutdownTimeout default value in documentation (#32070)
Update the default value for ShutdownTimeout according to https://github.com/dotnet/runtime/blob/v8.0.3/src/libraries/Microsoft.Extensions.Hosting/src/HostOptions.cs#L24pull/32088/head
parent
43bc00124b
commit
afdabc8bf5
|
@ -196,7 +196,7 @@ If the timeout period expires before all of the hosted services stop, any remain
|
|||
|
||||
**Key**: `shutdownTimeoutSeconds`
|
||||
**Type**: `int`
|
||||
**Default**: 5 seconds
|
||||
**Default**: 30 seconds
|
||||
**Environment variable**: `{PREFIX_}SHUTDOWNTIMEOUTSECONDS`
|
||||
|
||||
To set this value, use the environment variable or configure `HostOptions`. The following example sets the timeout to 20 seconds:
|
||||
|
|
Loading…
Reference in New Issue