Skip to content

Commit 34468e2

Browse files
michaelklishinmergify[bot]
authored andcommitted
STOMP: 1 MiB is 1024 squared
(cherry picked from commit ecbc1f1)
1 parent 9d41afb commit 34468e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_stomp/src/rabbit_stomp_reader.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ init([SupHelperPid, Ref, Configuration]) ->
8181
_ = register_resource_alarm(),
8282

8383
LoginTimeout = application:get_env(rabbitmq_stomp, login_timeout, 10_000),
84-
MaxFrameSize = application:get_env(rabbitmq_stomp, max_frame_size, 4 * 1000 * 1000),
84+
MaxFrameSize = application:get_env(rabbitmq_stomp, max_frame_size, 4 * 1024 * 1024),
8585
erlang:send_after(LoginTimeout, self(), login_timeout),
8686

8787
gen_server2:enter_loop(?MODULE, [],

0 commit comments

Comments
 (0)