Skip to content

Commit e6448b2

Browse files
rabbit.max_connections => rabbit.connection_max
We already have rabbit.channel_max, frame_max.
1 parent ae15f71 commit e6448b2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ define PROJECT_ENV
2525
%% breaks the QPid Java client
2626
{frame_max, 131072},
2727
{channel_max, 0},
28+
{connection_max, infinity},
2829
{heartbeat, 60},
2930
{msg_store_file_size_limit, 16777216},
3031
{fhc_write_buffering, true},

src/tcp_listener_sup.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ start_link(IPAddress, Port, Transport, SocketOpts, ProtoSup, ProtoOpts, OnStartu
4949
init({IPAddress, Port, Transport, SocketOpts, ProtoSup, ProtoOpts, OnStartup, OnShutdown,
5050
ConcurrentAcceptorCount, Label}) ->
5151
{ok, AckTimeout} = application:get_env(rabbit, ssl_handshake_timeout),
52-
MaxConnections = rabbit_misc:get_env(rabbit, max_connections, infinity),
52+
MaxConnections = rabbit_misc:get_env(rabbit, connection_max, infinity),
5353
{ok, {{one_for_all, 10, 10}, [
5454
ranch:child_spec({acceptor, IPAddress, Port}, ConcurrentAcceptorCount,
5555
Transport, [{port, Port}, {ip, IPAddress},

0 commit comments

Comments
 (0)