Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglei1949 committed Mar 18, 2024
1 parent d632f2a commit 835d706
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flex/bin/interactive_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ void openDefaultGraph(const std::string workspace, int32_t thread_num,
if (!db.Open(schema_res.value(), data_dir, thread_num).ok()) {
LOG(FATAL) << "Fail to load graph from data directory: " << data_dir;
}
LOG(INFO) << "Successfully init graph db for default graph: "
<< default_graph;

server::WorkDirManipulator::SetRunningGraph(default_graph);
}

} // namespace gs
Expand Down Expand Up @@ -207,6 +211,7 @@ int main(int argc, char** argv) {
auto schema_file = server::WorkDirManipulator::GetGraphSchemaPath(
service_config.default_graph);
gs::init_codegen_proxy(vm, schema_file, engine_config_file);
} else {
LOG(INFO) << "Start query service only";
std::string graph_schema_path, data_path;

Expand Down

0 comments on commit 835d706

Please sign in to comment.