fix: rename emqx_misc to emqx_utils

This commit is contained in:
Zhongwen Deng 2023-04-16 10:26:12 +08:00
parent 782649020b
commit ad65fefac2
3 changed files with 4 additions and 2 deletions

View File

@ -193,7 +193,7 @@ code_change(_OldVsn, State, _Extra) ->
start_timer(Zone) -> start_timer(Zone) ->
case get_policy(window_time, Zone) of case get_policy(window_time, Zone) of
WindowTime when is_integer(WindowTime) -> WindowTime when is_integer(WindowTime) ->
emqx_misc:start_timer(WindowTime, {garbage_collect, Zone}); emqx_utils:start_timer(WindowTime, {garbage_collect, Zone});
disabled -> disabled ->
ok ok
end. end.

View File

@ -628,7 +628,7 @@ fields("flapping_detect") ->
boolean(), boolean(),
#{ #{
default => false, default => false,
deprecated => {since, "5.0.22"}, deprecated => {since, "5.0.23"},
desc => ?DESC(flapping_detect_enable) desc => ?DESC(flapping_detect_enable)
} }
)}, )},

View File

@ -0,0 +1,2 @@
Hide `flapping_detect/conn_congestion/stats` configuration.
Deprecate `flapping_detect.enable`.