mirror of https://github.com/fafhrd91/actix-web
docs: Fix default value for HttpServer backlog
HttpServer::new() initialize backlog to 1024 instead of 2048.
The default value has been changed from 2048 to 1024 in
eae48f9612.
This commit is contained in:
parent
b9d3adfa4d
commit
0b3e4b8267
|
|
@ -176,7 +176,7 @@ where
|
|||
/// results in the client getting an error when attempting to connect. It should only affect
|
||||
/// servers under significant load.
|
||||
///
|
||||
/// Generally set in the 64–2048 range. Default value is 2048.
|
||||
/// Generally set in the 64–2048 range. Default value is 1024.
|
||||
///
|
||||
/// This method will have no effect if called after a `bind()`.
|
||||
pub fn backlog(mut self, backlog: u32) -> Self {
|
||||
|
|
|
|||
Loading…
Reference in New Issue