Browse Source

use real dispatcher func

tags/v1.1.0
gukecai 5 years ago
parent
commit
f3569f3718
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mindspore_serving/ccsrc/master/restful/http_process.cc

+ 2
- 2
mindspore_serving/ccsrc/master/restful/http_process.cc View File

@@ -690,9 +690,9 @@ Status RestfulService::RunRestful(const std::shared_ptr<RestfulRequest> &restful
}

MSI_TIME_STAMP_START(Predict)
// status = dispatcher_->Dispatch(request, reply);
status = dispatcher_->Dispatch(request, reply);

FadeReply(request, reply);
// FadeReply(request, reply);
MSI_TIME_STAMP_END(Predict)
if (status != SUCCESS) {
std::string error_msg = status.StatusMessage();


Loading…
Cancel
Save