Closed
Description
Background and Motivation
There are performance benefits of multiple listen queues with named pipes. This property allows someone to customize the number.
Proposed API
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes;
public sealed class NamedPipeTransportOptions
{
+ public int ListenerQueueCount { get; set; } = Math.Min(Environment.ProcessorCount, 16);
}
Usage Examples
services.Configure<NamedPipeTransportOptions>(o =>
{
o.ListenerQueueCount = 2;
});