Просмотр исходного кода

fix(emqx_conf_schema): use `timeout_duration_s()` type for `log.throttling.time_window` field

Serge Tupchii 1 год назад
Родитель
Сommit
e725064a2a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/emqx_conf/src/emqx_conf_schema.erl

+ 1 - 1
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"),