STOMP: bump default max frame size limit to 1 MiB
This commit is contained in:
parent
d1d7ecf879
commit
d1024856e1
|
|
@ -81,7 +81,7 @@ init([SupHelperPid, Ref, Configuration]) ->
|
||||||
_ = register_resource_alarm(),
|
_ = register_resource_alarm(),
|
||||||
|
|
||||||
LoginTimeout = application:get_env(rabbitmq_stomp, login_timeout, 10_000),
|
LoginTimeout = application:get_env(rabbitmq_stomp, login_timeout, 10_000),
|
||||||
MaxFrameSize = application:get_env(rabbitmq_stomp, max_frame_size, 192 * 1024),
|
MaxFrameSize = application:get_env(rabbitmq_stomp, max_frame_size, 1024 * 1024),
|
||||||
erlang:send_after(LoginTimeout, self(), login_timeout),
|
erlang:send_after(LoginTimeout, self(), login_timeout),
|
||||||
|
|
||||||
gen_server2:enter_loop(?MODULE, [],
|
gen_server2:enter_loop(?MODULE, [],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue