Update server.cpp
This commit is contained in:
parent
4d78cff3ed
commit
8dc6f1647e
1 changed files with 1 additions and 1 deletions
|
@ -3034,7 +3034,7 @@ int main(int argc, char ** argv) {
|
||||||
LOG_ERROR("unable to load model", {{"error", "Load model failed"}});
|
LOG_ERROR("unable to load model", {{"error", "Load model failed"}});
|
||||||
state.store(SERVER_STATE_ERROR);
|
state.store(SERVER_STATE_ERROR);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
// Initialize the server context if the model is loaded successfully
|
// Initialize the server context if the model is loaded successfully
|
||||||
ctx_server.init();
|
ctx_server.init();
|
||||||
state.store(SERVER_STATE_READY);
|
state.store(SERVER_STATE_READY);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue