Fix spelling of "timeout" in kestrel.shutdownTimeout

This commit is contained in:
Stephen Halter 2016-03-14 11:55:48 -07:00
parent f0e438f65f
commit aa17125f9e
2 changed files with 2 additions and 2 deletions

View File

@ -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 <seealso cref="Microsoft.Extensions.Configuration.IConfiguration"/>.
/// 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.
/// </summary>
TimeSpan ShutdownTimeout { get; set; }

View File

@ -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))