From 6a2a7b96ea4b8016df8acc874ac0da2b6f9d979c Mon Sep 17 00:00:00 2001 From: firest Date: Fri, 20 May 2022 18:02:14 +0800 Subject: [PATCH] fix(limiter): remove the unused limit conf --- apps/emqx/etc/emqx.conf | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/apps/emqx/etc/emqx.conf b/apps/emqx/etc/emqx.conf index 013150cce..e86512a0f 100644 --- a/apps/emqx/etc/emqx.conf +++ b/apps/emqx/etc/emqx.conf @@ -926,40 +926,6 @@ conn_congestion { min_alarm_sustain_duration = 1m } -rate_limit { - ## Maximum connections per second. - ## - ## @doc zones..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 ##==================================================================