From e725064a2ae2a6efb6a630591cdac5a2b298b018 Mon Sep 17 00:00:00 2001 From: Serge Tupchii Date: Mon, 4 Mar 2024 22:41:28 +0200 Subject: [PATCH] fix(emqx_conf_schema): use `timeout_duration_s()` type for `log.throttling.time_window` field --- apps/emqx_conf/src/emqx_conf_schema.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/emqx_conf/src/emqx_conf_schema.erl b/apps/emqx_conf/src/emqx_conf_schema.erl index 1e3e14744..a40716b4d 100644 --- a/apps/emqx_conf/src/emqx_conf_schema.erl +++ b/apps/emqx_conf/src/emqx_conf_schema.erl @@ -1033,7 +1033,7 @@ fields("log_throttling") -> [ {time_window, sc( - emqx_schema:duration_s(), + emqx_schema:timeout_duration_s(), #{ default => <<"1m">>, desc => ?DESC("log_throttling_time_window"),