Browse Source

!212 Serving, fix bug on check servable failed, not notify agents to exit

From: @xu-yfei
Reviewed-by: @linqingke,@zhoufeng54
Signed-off-by: @linqingke
tags/v1.2.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
6ad3199664
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindspore_serving/ccsrc/worker/grpc/worker_process.h

+ 1
- 0
mindspore_serving/ccsrc/worker/grpc/worker_process.h View File

@@ -42,6 +42,7 @@ class MSWorkerImpl {
watcher_ = std::make_shared<Watcher<proto::MSAgent, proto::MSMaster>>(server_address);
}
}
virtual ~MSWorkerImpl() = default;
void PredictAsync(grpc::ServerContext *context, const proto::PredictRequest *request, proto::PredictReply *reply,
PredictOnFinish on_finish);


Loading…
Cancel
Save