Skip to content

Commit 2d1e963

Browse files
authored
Improve the doc comment for MaxAccepts (#28166)
* Improve the doc comment for MaxAccepts - Added defaults - Explain that it's about concurrent * Update src/Servers/HttpSys/src/HttpSysOptions.cs
1 parent bd4d965 commit 2d1e963

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Servers/HttpSys/src/HttpSysOptions.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,11 @@ public string RequestQueueName
6868
public ClientCertificateMethod ClientCertificateMethod { get; set; } = ClientCertificateMethod.AllowCertificate;
6969

7070
/// <summary>
71-
/// The maximum number of concurrent accepts.
71+
/// The number of concurrent workers draining requests from the Http.sys queue.
7272
/// </summary>
73+
/// <remarks>
74+
/// Defaults to 5 times the number of processors.
75+
/// </remarks>
7376
public int MaxAccepts { get; set; } = DefaultMaxAccepts;
7477

7578
/// <summary>

0 commit comments

Comments
 (0)