|
@@ -39,7 +39,7 @@ internal static class Program
|
|
|
// It's the number of real cpu cores not cpu threads
|
|
// It's the number of real cpu cores not cpu threads
|
|
|
// This can improve the cache hits on L1/L2 since only one thread
|
|
// This can improve the cache hits on L1/L2 since only one thread
|
|
|
// is running per cpu core.
|
|
// is running per cpu core.
|
|
|
- .SetNWorkersSolver(() => Environment.ProcessorCount/2)
|
|
|
|
|
|
|
+ .SetNWorkersSolver(() => Environment.ProcessorCount / 2)
|
|
|
|
|
|
|
|
// Accept up to 16384 connections
|
|
// Accept up to 16384 connections
|
|
|
.SetBacklog(16384)
|
|
.SetBacklog(16384)
|