添加/修改了向量数据库相关功能

This commit is contained in:
wangmeihua 2025-07-02 15:06:52 +08:00
parent 0a8995eedd
commit 1c5f11eccb
2 changed files with 24 additions and 0 deletions

12
test/connection/stop.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
PORT=8888
PID=$(lsof -t -i:$PORT)
if [ -n "$PID" ]; then
echo "找到端口 $PORT 的进程: PID=$PID"
kill -9 $PID
echo "已终止端口 $PORT 的进程"
else
echo "未找到端口 $PORT 的进程"
fi

12
test/entities/stop.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
PORT=9990
PID=$(lsof -t -i:$PORT)
if [ -n "$PID" ]; then
echo "找到端口 $PORT 的进程: PID=$PID"
kill -9 $PID
echo "已终止端口 $PORT 的进程"
else
echo "未找到端口 $PORT 的进程"
fi