Merge pull request #698 from nbqyqx/master

ClientRunningMonitor shutdown delayExector threadpool #697
This commit is contained in:
agapple
2018-06-15 13:25:04 +08:00
committed by GitHub

View File

@@ -98,6 +98,10 @@ public class ClientRunningMonitor extends AbstractCanalLifeCycle {
String path = ZookeeperPathUtils.getDestinationClientRunning(this.destination, clientData.getClientId());
zkClient.unsubscribeDataChanges(path, dataListener);
releaseRunning(); // 尝试一下release
//Fix issue #697
if (delayExector != null) {
delayExector.shutdown();
}
}
// 改动记录: