This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new 47f7b98 Fix the status is incorrect (#2982)
47f7b98 is described below
commit 47f7b98905cd4363c36a57c09e01513d2910cd0a
Author: Xin,Zhang <[email protected]>
AuthorDate: Mon Jul 1 23:32:45 2019 +0800
Fix the status is incorrect (#2982)
---
.../org/apache/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 b5ddd84..62458f8 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);
}
}