order of sockopts

This commit is contained in:
Feng 2015-10-23 18:05:08 +08:00
parent 698d096cae
commit 676aa3cb71
2 changed files with 4 additions and 4 deletions

View File

@ -187,11 +187,11 @@
{access, [{allow, all}]}, {access, [{allow, all}]},
%% Socket Options %% Socket Options
{sockopts, [ {sockopts, [
{backlog, 512}
%Set buffer if hight thoughtput %Set buffer if hight thoughtput
%{recbuf, 4096}, %{recbuf, 4096},
%{sndbuf, 4096} %{sndbuf, 4096},
%{buffer, 4096}, %{buffer, 4096},
{backlog, 512}
]} ]}
]}, ]},
{mqtts, 8883, [ {mqtts, 8883, [

View File

@ -179,11 +179,11 @@
{access, [{allow, all}]}, {access, [{allow, all}]},
%% Socket Options %% Socket Options
{sockopts, [ {sockopts, [
{backlog, 512}
%Set buffer if hight thoughtput %Set buffer if hight thoughtput
%{recbuf, 4096}, %{recbuf, 4096},
%{sndbuf, 4096} %{sndbuf, 4096},
%{buffer, 4096}, %{buffer, 4096},
{backlog, 512}
]} ]}
]}, ]},
{mqtts, 8883, [ {mqtts, 8883, [