Explorar o código

Merge pull request #13209 from thalesmg/rm-redundant-hc-r57-20240607

chore: remove redundant health check call
Thales Macedo Garitezi hai 1 ano
pai
achega
1a20a40218
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      apps/emqx_resource/src/emqx_resource_manager.erl

+ 0 - 1
apps/emqx_resource/src/emqx_resource_manager.erl

@@ -381,7 +381,6 @@ channel_health_check(ResId, ChannelId) ->
 add_channel(ResId, ChannelId, Config) ->
     Result = safe_call(ResId, {add_channel, ChannelId, Config}, ?T_OPERATION),
     %% Wait for health_check to finish
-    _ = health_check(ResId),
     _ = channel_health_check(ResId, ChannelId),
     Result.