server.threadCount -> kestre.threadCount
This commit is contained in:
parent
bfad32f223
commit
12ee74c09c
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue