Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

fix travis; fix comments; fix zk client usage #46

Merged
merged 3 commits into from
Apr 15, 2019

Conversation

qinzuoyan
Copy link
Member

No description provided.

@@ -95,7 +95,13 @@ public static Properties loadConfiguration(String configPath) throws PException
ZkClient client =
new ZkClient(
server, ZK_SESSION_TIMEOUT, ZK_CONNECTION_TIMEOUT, new BytesPushThroughSerializer());
return client.readData(path);
try {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这段代码是怎么发现有问题的?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是业务方发现zk连接泄露,然后报给我的

@qinzuoyan qinzuoyan merged commit 76dcf05 into thrift-0.11.0-inlined Apr 15, 2019
@qinzuoyan qinzuoyan deleted the qinzuoyan branch April 15, 2019 02:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants