tune buffer sizes in order to improve performance for non-tiny messages
This commit is contained in:
parent
1ad18d588d
commit
75eb2be9a9
|
|
@ -45,6 +45,8 @@ init(SupPid, Configuration) ->
|
|||
|
||||
ParseState = rabbit_stomp_frame:initial_state(),
|
||||
try
|
||||
rabbit_misc:throw_on_error(
|
||||
inet_error, fun () -> rabbit_net:tune_buffer_size(Sock) end),
|
||||
mainloop(
|
||||
control_throttle(
|
||||
register_resource_alarm(
|
||||
|
|
|
|||
Loading…
Reference in New Issue