From 12ee74c09c78ba8ae2987e8ea338e9e444201baa Mon Sep 17 00:00:00 2001 From: Kristian Hellang Date: Mon, 7 Dec 2015 22:00:03 +0100 Subject: [PATCH] server.threadCount -> kestre.threadCount --- src/Microsoft.AspNet.Server.Kestrel/KestrelServerInformation.cs | 2 +- .../KestrelServerInformationTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.AspNet.Server.Kestrel/KestrelServerInformation.cs b/src/Microsoft.AspNet.Server.Kestrel/KestrelServerInformation.cs index 84b2fcab57..acbfc685e5 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/KestrelServerInformation.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/KestrelServerInformation.cs @@ -42,7 +42,7 @@ namespace Microsoft.AspNet.Server.Kestrel private static int GetThreadCount(IConfiguration configuration) { - var threadCountString = configuration["server.threadCount"]; + var threadCountString = configuration["kestrel.threadCount"]; int threadCount; if (string.IsNullOrEmpty(threadCountString) || !int.TryParse(threadCountString, out threadCount)) diff --git a/test/Microsoft.AspNet.Server.KestrelTests/KestrelServerInformationTests.cs b/test/Microsoft.AspNet.Server.KestrelTests/KestrelServerInformationTests.cs index 2a3285da9f..91e9a419f0 100644 --- a/test/Microsoft.AspNet.Server.KestrelTests/KestrelServerInformationTests.cs +++ b/test/Microsoft.AspNet.Server.KestrelTests/KestrelServerInformationTests.cs @@ -18,7 +18,7 @@ namespace Microsoft.AspNet.Server.KestrelTests var values = new Dictionary { - { "server.threadCount", expected.ToString() } + { "kestrel.threadCount", expected.ToString() } }; var configuration = new ConfigurationBuilder()