fix(limiter): remove the unused limit conf
This commit is contained in:
parent
c91dff349a
commit
6a2a7b96ea
|
@ -926,40 +926,6 @@ conn_congestion {
|
||||||
min_alarm_sustain_duration = 1m
|
min_alarm_sustain_duration = 1m
|
||||||
}
|
}
|
||||||
|
|
||||||
rate_limit {
|
|
||||||
## Maximum connections per second.
|
|
||||||
##
|
|
||||||
## @doc zones.<name>.max_conn_rate
|
|
||||||
## ValueType: Number | infinity
|
|
||||||
## Default: 1000
|
|
||||||
## Examples:
|
|
||||||
## max_conn_rate: 1000
|
|
||||||
max_conn_rate = 1000
|
|
||||||
|
|
||||||
## Message limit for the external MQTT connections.
|
|
||||||
##
|
|
||||||
## @doc rate_limit.conn_messages_in
|
|
||||||
## ValueType: String | infinity
|
|
||||||
## Default: infinity
|
|
||||||
## Examples: 100 messages per 10 seconds.
|
|
||||||
## conn_messages_in: "100,10s"
|
|
||||||
conn_messages_in = "100,10s"
|
|
||||||
|
|
||||||
## Limit the rate of receiving packets for a MQTT connection.
|
|
||||||
## The rate is counted by bytes of packets per second.
|
|
||||||
##
|
|
||||||
## The connection won't accept more messages if the messages come
|
|
||||||
## faster than the limit.
|
|
||||||
##
|
|
||||||
## @doc rate_limit.conn_bytes_in
|
|
||||||
## ValueType: String | infinity
|
|
||||||
## Default: infinity
|
|
||||||
## Examples: 100KB incoming per 10 seconds.
|
|
||||||
## conn_bytes_in: "100KB,10s"
|
|
||||||
##
|
|
||||||
conn_bytes_in = "100KB,10s"
|
|
||||||
}
|
|
||||||
|
|
||||||
##==================================================================
|
##==================================================================
|
||||||
## Zones
|
## Zones
|
||||||
##==================================================================
|
##==================================================================
|
||||||
|
|
Loading…
Reference in New Issue