From 676aa3cb7128d54bacf21f5b4f49bff9d0602df1 Mon Sep 17 00:00:00 2001 From: Feng Date: Fri, 23 Oct 2015 18:05:08 +0800 Subject: [PATCH] order of sockopts --- rel/files/emqttd.config.development | 4 ++-- rel/files/emqttd.config.production | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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, [