diff --git a/apps/emqx_conf/src/emqx_conf.erl b/apps/emqx_conf/src/emqx_conf.erl index cc56d5e46..d2e45581d 100644 --- a/apps/emqx_conf/src/emqx_conf.erl +++ b/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) ->