You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/01/23 14:15:08 UTC

[incubator-skywalking] branch reconnect updated: Notify when rebuild connection.

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch reconnect
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/reconnect by this push:
     new 697d799  Notify when rebuild connection.
697d799 is described below

commit 697d79926647ba8196fa3be26c21311dae7dd111
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Wed Jan 23 22:14:53 2019 +0800

    Notify when rebuild connection.
---
 .../org/apache/skywalking/apm/agent/core/remote/GRPCChannelManager.java | 2 ++
 1 file changed, 2 insertions(+)

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 c0abcf8..81895b3 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
@@ -103,6 +103,8 @@ public class GRPCChannelManager implements BootService, Runnable {
                             .addManagedChannelBuilder(new TLSChannelBuilder())
                             .addChannelDecorator(new AuthenticationDecorator())
                             .build();
+
+                        notify(GRPCChannelStatus.CONNECTED);
                     }
 
                     reconnect = false;