From d578ac3f9ed7651208daa4865f699cb68b633be0 Mon Sep 17 00:00:00 2001 From: Serge Tupchii Date: Mon, 27 May 2024 19:52:50 +0300 Subject: [PATCH] fix(clusterlink): match correct timer ref in router actor --- apps/emqx_cluster_link/src/emqx_cluster_link_router_syncer.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/emqx_cluster_link/src/emqx_cluster_link_router_syncer.erl b/apps/emqx_cluster_link/src/emqx_cluster_link_router_syncer.erl index 506eeb176..7d0a9db25 100644 --- a/apps/emqx_cluster_link/src/emqx_cluster_link_router_syncer.erl +++ b/apps/emqx_cluster_link/src/emqx_cluster_link_router_syncer.erl @@ -357,7 +357,7 @@ handle_info({publish, #{}}, St) -> {noreply, St}; handle_info({timeout, TRef, reconnect}, St = #st{reconnect_timer = TRef}) -> {noreply, process_connect(St#st{reconnect_timer = undefined})}; -handle_info({timeout, TRef, actor_reinit}, St = #st{reconnect_timer = TRef}) -> +handle_info({timeout, TRef, actor_reinit}, St = #st{actor_init_timer = TRef}) -> ?SLOG(error, #{ msg => "remote_actor_init_timeout", target_cluster => St#st.target,