|
|
@@ -863,8 +863,11 @@ listener.tcp.external.zone = external
|
|
|
## Rate limit for the external MQTT/TCP connections. Format is 'rate,burst'.
|
|
|
##
|
|
|
## Value: rate,burst
|
|
|
+## - rate: The average limit value for per second
|
|
|
+## - burst: The maximum allowed for each check, To avoid frequent restriction
|
|
|
+## this value is recommended to be set to `(max_packet_size * active_n)/2`
|
|
|
## Unit: Bps
|
|
|
-## listener.tcp.external.rate_limit = 1024,4096
|
|
|
+## listener.tcp.external.rate_limit = 1024,52428800
|
|
|
|
|
|
## The access control rules for the MQTT/TCP listener.
|
|
|
##
|
|
|
@@ -994,8 +997,11 @@ listener.tcp.internal.zone = internal
|
|
|
## See: listener.tcp.$name.rate_limit
|
|
|
##
|
|
|
## Value: rate,burst
|
|
|
+## - rate: The average limit value for per second
|
|
|
+## - burst: The maximum allowed for each check, To avoid frequent restriction
|
|
|
+## this value is recommended to be set to `(max_packet_size * active_n)/2`
|
|
|
## Unit: Bps
|
|
|
-## listener.tcp.internal.rate_limit = 1000000,2000000
|
|
|
+## listener.tcp.internal.rate_limit = 1000000,524288000
|
|
|
|
|
|
## The TCP backlog of internal MQTT/TCP Listener.
|
|
|
##
|
|
|
@@ -1104,8 +1110,11 @@ listener.ssl.external.access.1 = allow all
|
|
|
## Rate limit for the external MQTT/SSL connections.
|
|
|
##
|
|
|
## Value: rate,burst
|
|
|
+## - rate: The average limit value for per second
|
|
|
+## - burst: The maximum allowed for each check, To avoid frequent restriction
|
|
|
+## this value is recommended to be set to `(max_packet_size * active_n)/2`
|
|
|
## Unit: Bps
|
|
|
-## listener.ssl.external.rate_limit = 1024,4096
|
|
|
+## listener.ssl.external.rate_limit = 1024,52428800
|
|
|
|
|
|
## Enable the Proxy Protocol V1/2 if the EMQ cluster is deployed behind
|
|
|
## HAProxy or Nginx.
|
|
|
@@ -1338,8 +1347,11 @@ listener.ws.external.max_conn_rate = 1000
|
|
|
## Rate limit for the MQTT/WebSocket connections.
|
|
|
##
|
|
|
## Value: rate,burst
|
|
|
+## - rate: The average limit value for per second
|
|
|
+## - burst: The maximum allowed for each check, To avoid frequent restriction
|
|
|
+## this value is recommended to be set to `(max_packet_size * 1)/2`
|
|
|
## Unit: Bps
|
|
|
-## listener.ws.external.rate_limit = 1024,4096
|
|
|
+## listener.ws.external.rate_limit = 1024,524288
|
|
|
|
|
|
## Zone of the external MQTT/WebSocket listener belonged to.
|
|
|
##
|
|
|
@@ -1546,8 +1558,11 @@ listener.wss.external.max_conn_rate = 1000
|
|
|
## Rate limit for the MQTT/WebSocket/SSL connections.
|
|
|
##
|
|
|
## Value: rate,burst
|
|
|
+## - rate: The average limit value for per second
|
|
|
+## - burst: The maximum allowed for each check, To avoid frequent restriction
|
|
|
+## this value is recommended to be set to `(max_packet_size * 1)/2`
|
|
|
## Unit: Bps
|
|
|
-## listener.wss.external.rate_limit = 1024,4096
|
|
|
+## listener.wss.external.rate_limit = 1024,524288
|
|
|
|
|
|
## Zone of the external MQTT/WebSocket/SSL listener belonged to.
|
|
|
##
|