diff options
| author | David Wragg <dpw@lshift.net> | 2010-04-16 18:50:27 +0100 |
|---|---|---|
| committer | David Wragg <dpw@lshift.net> | 2010-04-16 18:50:27 +0100 |
| commit | ab7d11a2797402cd26fc385bd557f1856715a9bc (patch) | |
| tree | 68b7da649513ed398cc1d1b87cad0f8081930fc7 | |
| parent | 0d8d542ced01c0ff63abb2336cd963e9acb237b4 (diff) | |
| download | rabbitmq-server-git-ab7d11a2797402cd26fc385bd557f1856715a9bc.tar.gz | |
Increase the backlog on the listening socket backlog to 128.
The erlang default is a rather low value of 5. 128 is the default
maximum under Linux, so seems a reasonable value to go for.
| -rw-r--r-- | src/rabbit_networking.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl index 7978573d90..c3d0b7b786 100644 --- a/src/rabbit_networking.erl +++ b/src/rabbit_networking.erl @@ -51,6 +51,7 @@ binary, {packet, raw}, % no packaging {reuseaddr, true}, % allow rebind without waiting + {backlog, 128}, % use the maximum listen(2) backlog value %% {nodelay, true}, % TCP_NODELAY - disable Nagle's alg. %% {delay_send, true}, {exit_on_close, false} |
