提交 4d134344 编写于 作者: Q Qiao Longfei

fix a little problem test=develop

上级 9c3910f3
...@@ -54,7 +54,7 @@ bool RequestSendHandler::Handle(const std::string& varname, ...@@ -54,7 +54,7 @@ bool RequestSendHandler::Handle(const std::string& varname,
// Async // Async
if (!sync_mode_) { if (!sync_mode_) {
VLOG(3) << "async process var: " << varname; VLOG(3) << "async process var: " << varname;
if (varname == BATCH_BARRIER_MESSAGE || varname == COMPLETE_MESSAGE) { if (varname == BATCH_BARRIER_MESSAGE) {
PADDLE_THROW( PADDLE_THROW(
"async mode should not recv BATCH_BARRIER_MESSAGE or " "async mode should not recv BATCH_BARRIER_MESSAGE or "
"COMPLETE_MESSAGE"); "COMPLETE_MESSAGE");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册