rate limit
This commit is contained in:
parent
09047287c4
commit
9a590b2f39
|
@ -185,6 +185,8 @@
|
||||||
{max_clients, 512},
|
{max_clients, 512},
|
||||||
%% Socket Access Control
|
%% Socket Access Control
|
||||||
{access, [{allow, all}]},
|
{access, [{allow, all}]},
|
||||||
|
%% Rate Limit. Format is 'burst, rate', Unit is KB/Sec
|
||||||
|
%% {rate_limit, "100,10"}, %% 100K burst, 10K rate
|
||||||
%% Socket Options
|
%% Socket Options
|
||||||
{sockopts, [
|
{sockopts, [
|
||||||
%Set buffer if hight thoughtput
|
%Set buffer if hight thoughtput
|
||||||
|
|
|
@ -175,6 +175,8 @@
|
||||||
{acceptors, 16},
|
{acceptors, 16},
|
||||||
%% Maximum number of concurrent clients
|
%% Maximum number of concurrent clients
|
||||||
{max_clients, 8192},
|
{max_clients, 8192},
|
||||||
|
%% Rate Limit. Format is 'burst, rate', Unit is KB/Sec.
|
||||||
|
%% {rate_limit, "10,1"}, %% 10K burst, 1K rate
|
||||||
%% Socket Access Control
|
%% Socket Access Control
|
||||||
{access, [{allow, all}]},
|
{access, [{allow, all}]},
|
||||||
%% Socket Options
|
%% Socket Options
|
||||||
|
|
Loading…
Reference in New Issue