Przeglądaj źródła

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

Serge Tupchii 1 rok temu
rodzic
commit
e725064a2a
1 zmienionych plików z 1 dodań i 1 usunięć
  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,
         {time_window,
             sc(
             sc(
-                emqx_schema:duration_s(),
+                emqx_schema:timeout_duration_s(),
                 #{
                 #{
                     default => <<"1m">>,
                     default => <<"1m">>,
                     desc => ?DESC("log_throttling_time_window"),
                     desc => ?DESC("log_throttling_time_window"),