Skip to content

Commit d86626d

Browse files
committed
optimize log
1 parent ebf0027 commit d86626d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

paddle/fluid/operators/detail/grpc_server.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ void AsyncGRPCServer::HandleRequest(::grpc::ServerCompletionQueue* cq,
321321

322322
if (sync_mode_) {
323323
// FIXME(typhoonzero): de-couple the barriers with recv_op
324-
VLOG(3) << "HandleRequest for " << cq_name << " before WaitCond";
325324
if (!is_shut_down_ && cq_name == "cq_get") WaitCond(1);
326325
if (!is_shut_down_ && cq_name == "cq_send") WaitCond(0);
327326
VLOG(3) << "HandleRequest for " << cq_name << " after WaitCond";
@@ -359,10 +358,8 @@ void AsyncGRPCServer::HandleRequest(::grpc::ServerCompletionQueue* cq,
359358

360359
void AsyncGRPCServer::WaitCond(int cond) {
361360
std::unique_lock<std::mutex> lock(this->barrier_mutex_);
362-
VLOG(3) << "WaitCond " << cond << " in";
363361
barrier_condition_.wait(lock,
364362
[=] { return this->barrier_cond_step_ == cond; });
365-
VLOG(3) << "WaitCond " << cond << " out";
366363
}
367364

368365
void AsyncGRPCServer::SetCond(int cond) {

0 commit comments

Comments
 (0)