KestrelServerOptions.ThreadCount 属性

定义

用于处理请求的 libuv I/O 线程数。

public:
 property int ThreadCount { int get(); void set(int value); };
public int ThreadCount { get; set; }
member this.ThreadCount : int with get, set
Public Property ThreadCount As Integer

属性值

注解

默认为向下舍入的一 ProcessorCount 半,并固定在 1 到 16 之间。

适用于