Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 6a8bebf

Browse files
Fix: CI build window
1 parent e0f75ad commit 6a8bebf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

engine/extensions/python-engine/python_engine.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pid_t PythonEngine::SpawnProcess(const std::string& model,
135135
return -1;
136136
}
137137
}
138-
bool PythonEngine::TerminateProcess(const std::string& model) {
138+
bool PythonEngine::TerminateModelProcess(const std::string& model) {
139139
auto it = processMap.find(model);
140140
if (it == processMap.end()) {
141141
LOG_ERROR << "No process found for model: " << model
@@ -479,7 +479,7 @@ void PythonEngine::UnloadModel(
479479

480480
{
481481
std::unique_lock lock(models_mutex_);
482-
if (TerminateProcess(model)) {
482+
if (TerminateModelProcess(model)) {
483483
models_.erase(model);
484484
} else {
485485
Json::Value error;

engine/extensions/python-engine/python_engine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class PythonEngine : public EngineI {
109109
// Process manager functions
110110
pid_t SpawnProcess(const std::string& model,
111111
const std::vector<std::string>& command);
112-
bool TerminateProcess(const std::string& model);
112+
bool TerminateModelProcess(const std::string& model);
113113

114114
// Internal model management
115115
bool LoadModelConfig(const std::string& model, const std::string& yaml_path);

0 commit comments

Comments
 (0)