KestrelServerOptions.ShutdownTimeout KestrelServerOptions.ShutdownTimeout KestrelServerOptions.ShutdownTimeout Property

Definition

The amount of time after the server begins shutting down before connections will be forcefully closed. Kestrel will wait for the duration of the timeout for any ongoing request processing to complete before terminating the connection. No new connections or requests will be accepted during this time.

public TimeSpan ShutdownTimeout { get; set; }
member this.ShutdownTimeout : TimeSpan with get, set
Public Property ShutdownTimeout As TimeSpan

Property Value

Remarks

Defaults to 5 seconds.

Applies to