From aa17125f9ec3a6070ed46da7c9ca138c1905b049 Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Mon, 14 Mar 2016 11:55:48 -0700 Subject: [PATCH] Fix spelling of "timeout" in kestrel.shutdownTimeout --- .../IKestrelServerInformation.cs | 2 +- .../KestrelServerInformation.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.AspNetCore.Server.Kestrel/IKestrelServerInformation.cs b/src/Microsoft.AspNetCore.Server.Kestrel/IKestrelServerInformation.cs index b2ec185075..87a6b645b2 100644 --- a/src/Microsoft.AspNetCore.Server.Kestrel/IKestrelServerInformation.cs +++ b/src/Microsoft.AspNetCore.Server.Kestrel/IKestrelServerInformation.cs @@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel /// By default, Kestrel will wait 5 seconds for any ongoing requests to complete before terminating /// the connection. /// A custom timeout can be configured using the "kestrel.shutdownTimeout" key in . - /// The value will be parsed as a float representing the timout in seconds. + /// The value will be parsed as a float representing the timeout in seconds. /// TimeSpan ShutdownTimeout { get; set; } diff --git a/src/Microsoft.AspNetCore.Server.Kestrel/KestrelServerInformation.cs b/src/Microsoft.AspNetCore.Server.Kestrel/KestrelServerInformation.cs index 4e2f4b0515..58f44cede3 100644 --- a/src/Microsoft.AspNetCore.Server.Kestrel/KestrelServerInformation.cs +++ b/src/Microsoft.AspNetCore.Server.Kestrel/KestrelServerInformation.cs @@ -98,7 +98,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel private TimeSpan GetShutdownTimeout(IConfiguration configuration) { - var shutdownTimeoutString = configuration["kestrel.shutdownTimout"]; + var shutdownTimeoutString = configuration["kestrel.shutdownTimeout"]; float shutdownTimeout; if (float.TryParse(shutdownTimeoutString, NumberStyles.Float, CultureInfo.InvariantCulture, out shutdownTimeout))