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(),
|
ParseState = rabbit_stomp_frame:initial_state(),
|
||||||
try
|
try
|
||||||
|
rabbit_misc:throw_on_error(
|
||||||
|
inet_error, fun () -> rabbit_net:tune_buffer_size(Sock) end),
|
||||||
mainloop(
|
mainloop(
|
||||||
control_throttle(
|
control_throttle(
|
||||||
register_resource_alarm(
|
register_resource_alarm(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue