소스 검색

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

Serge Tupchii 2 년 전
부모
커밋
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"),