From 47f7b98905cd4363c36a57c09e01513d2910cd0a Mon Sep 17 00:00:00 2001 From: "Xin,Zhang" Date: Mon, 1 Jul 2019 23:32:45 +0800 Subject: [PATCH] Fix the status is incorrect (#2982) --- .../skywalking/apm/agent/core/remote/GRPCChannelManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/remote/GRPCChannelManager.java b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/remote/GRPCChannelManager.java index b5ddd84f9..62458f8ce 100644 --- a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/remote/GRPCChannelManager.java +++ b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/remote/GRPCChannelManager.java @@ -134,6 +134,7 @@ public class GRPCChannelManager implements BootService, Runnable { public void reportError(Throwable throwable) { if (isNetworkError(throwable)) { reconnect = true; + notify(GRPCChannelStatus.DISCONNECT); } }