From d532b5f2e36be7b6711860cc814a7792abf1171d Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Tue, 4 Feb 2020 15:14:52 +0800 Subject: [PATCH] Remove the unused 'hibernate_after' config --- etc/emqx.conf | 5 ----- priv/emqx.schema | 6 ------ 2 files changed, 11 deletions(-) diff --git a/etc/emqx.conf b/etc/emqx.conf index d5490d954..d41d604c3 100644 --- a/etc/emqx.conf +++ b/etc/emqx.conf @@ -570,11 +570,6 @@ mqtt.strict_mode = false ## Value: duration zone.external.idle_timeout = 15s -## Hibernate after a duration of idle state. -## -## Value: duration -zone.external.hibernate_after = 60s - ## Publish limit for the external MQTT connections. ## ## Value: Number,Duration diff --git a/priv/emqx.schema b/priv/emqx.schema index a7f53ba1f..468dfc343 100644 --- a/priv/emqx.schema +++ b/priv/emqx.schema @@ -735,12 +735,6 @@ end}. {datatype, {duration, ms}} ]}. -%% @doc Hibernate after a duration of idle state. -{mapping, "zone.$name.hibernate_after", "emqx.zones", [ - {default, "60s"}, - {datatype, {duration, ms}} -]}. - {mapping, "zone.$name.allow_anonymous", "emqx.zones", [ {datatype, {enum, [true, false]}} ]}.