STOMP: bump default max frame size limit to 1 MiB

This commit is contained in:
Michael Klishin 2023-07-08 22:57:59 +04:00
parent d1d7ecf879
commit d1024856e1
No known key found for this signature in database
GPG Key ID: FF4F6501646A9C9A
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ init([SupHelperPid, Ref, Configuration]) ->
_ = register_resource_alarm(),
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),
gen_server2:enter_loop(?MODULE, [],