fix: rename emqx_misc to emqx_utils
This commit is contained in:
parent
782649020b
commit
ad65fefac2
|
@ -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.
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
)},
|
)},
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
Hide `flapping_detect/conn_congestion/stats` configuration.
|
||||||
|
Deprecate `flapping_detect.enable`.
|
Loading…
Reference in New Issue