Feng 10 лет назад
Родитель
Сommit
676aa3cb71
2 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      rel/files/emqttd.config.development
  2. 2 2
      rel/files/emqttd.config.production

+ 2 - 2
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, [

+ 2 - 2
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, [