From d86626df847a71e89646b5b81ec4b4f6fa1e6c9b Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Wed, 2 May 2018 11:40:07 +0800 Subject: [PATCH] optimize log --- paddle/fluid/operators/detail/grpc_server.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/paddle/fluid/operators/detail/grpc_server.cc b/paddle/fluid/operators/detail/grpc_server.cc index 8abcfbb43..7ca694886 100644 --- a/paddle/fluid/operators/detail/grpc_server.cc +++ b/paddle/fluid/operators/detail/grpc_server.cc @@ -321,7 +321,6 @@ void AsyncGRPCServer::HandleRequest(::grpc::ServerCompletionQueue* cq, if (sync_mode_) { // FIXME(typhoonzero): de-couple the barriers with recv_op - VLOG(3) << "HandleRequest for " << cq_name << " before WaitCond"; if (!is_shut_down_ && cq_name == "cq_get") WaitCond(1); if (!is_shut_down_ && cq_name == "cq_send") WaitCond(0); VLOG(3) << "HandleRequest for " << cq_name << " after WaitCond"; @@ -359,10 +358,8 @@ void AsyncGRPCServer::HandleRequest(::grpc::ServerCompletionQueue* cq, void AsyncGRPCServer::WaitCond(int cond) { std::unique_lock lock(this->barrier_mutex_); - VLOG(3) << "WaitCond " << cond << " in"; barrier_condition_.wait(lock, [=] { return this->barrier_cond_step_ == cond; }); - VLOG(3) << "WaitCond " << cond << " out"; } void AsyncGRPCServer::SetCond(int cond) { -- GitLab