diff --git a/rel/files/emqttd.config.development b/rel/files/emqttd.config.development index 4989110f9..fff25aed9 100644 --- a/rel/files/emqttd.config.development +++ b/rel/files/emqttd.config.development @@ -187,11 +187,11 @@ {access, [{allow, all}]}, %% Socket Options {sockopts, [ - {backlog, 512} %Set buffer if hight thoughtput %{recbuf, 4096}, - %{sndbuf, 4096} + %{sndbuf, 4096}, %{buffer, 4096}, + {backlog, 512} ]} ]}, {mqtts, 8883, [ diff --git a/rel/files/emqttd.config.production b/rel/files/emqttd.config.production index 53b1ea3a0..2f70b61f3 100644 --- a/rel/files/emqttd.config.production +++ b/rel/files/emqttd.config.production @@ -179,11 +179,11 @@ {access, [{allow, all}]}, %% Socket Options {sockopts, [ - {backlog, 512} %Set buffer if hight thoughtput %{recbuf, 4096}, - %{sndbuf, 4096} + %{sndbuf, 4096}, %{buffer, 4096}, + {backlog, 512} ]} ]}, {mqtts, 8883, [