Skip to content

Commit

Permalink
Workaround for issue 72 which block connection. (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shylock-Hg committed Jan 18, 2022
1 parent 227cba1 commit 9c552f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/client/Connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ bool Connection::open(const std::string &address,
if (!socket->good()) {
return false;
}
socket->setErrMessageCB(&NebulaConnectionErrMessageCallback::instance());
// TODO workaround for issue #72
// socket->setErrMessageCB(&NebulaConnectionErrMessageCallback::instance());
auto channel = apache::thrift::HeaderClientChannel::newChannel(socket);
channel->setTimeout(timeout);
client_ = new graph::cpp2::GraphServiceAsyncClient(std::move(channel));
Expand Down

0 comments on commit 9c552f0

Please sign in to comment.