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

Merge pull request #10990 from zmstone/0609-fix-schema-for-dashboard-use

0609 fix schema for dashboard use
Zaiming (Stone) Shi 2 лет назад
Родитель
Сommit
643da0564b
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      apps/emqx_conf/src/emqx_conf.erl

+ 6 - 0
apps/emqx_conf/src/emqx_conf.erl

@@ -320,10 +320,16 @@ typename_to_spec("atom()", _Mod) ->
     #{type => string};
 typename_to_spec("duration()", _Mod) ->
     #{type => duration};
+typename_to_spec("timeout_duration()", _Mod) ->
+    #{type => duration};
 typename_to_spec("duration_s()", _Mod) ->
     #{type => duration};
+typename_to_spec("timeout_duration_s()", _Mod) ->
+    #{type => duration};
 typename_to_spec("duration_ms()", _Mod) ->
     #{type => duration};
+typename_to_spec("timeout_duration_ms()", _Mod) ->
+    #{type => duration};
 typename_to_spec("percent()", _Mod) ->
     #{type => percent};
 typename_to_spec("file()", _Mod) ->