server.threadCount -> kestre.threadCount

This commit is contained in:
Kristian Hellang 2015-12-07 22:00:03 +01:00
parent bfad32f223
commit 12ee74c09c
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -18,7 +18,7 @@ namespace Microsoft.AspNet.Server.KestrelTests
var values = new Dictionary<string, string>
{
{ "server.threadCount", expected.ToString() }
{ "kestrel.threadCount", expected.ToString() }
};
var configuration = new ConfigurationBuilder()