You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/guide_en.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -564,12 +564,12 @@ By default, Netpoll does not place any limit on the reading speed of data sent b
564
564
Whenever there have more data on the connection, Netpoll will read the data into its own buffer as quickly as possible.
565
565
566
566
But sometimes users may not want data to be read too quickly, or they want to control the service memory usage, or the user's OnRequest callback processing data very slowly and need to control the peer's send speed.
567
-
In this case, you can use `WithReadThreshold` to control the maximum reading threshold.
567
+
In this case, you can use `WithReadBufferThreshold` to control the maximum reading threshold.
0 commit comments