后端新增《蚕茧识别V2》模块

This commit is contained in:
BBIT-Kai
2025-11-10 18:08:50 +08:00
parent 9527cc2f1c
commit 625d185f69
15 changed files with 559 additions and 809 deletions
+3 -1
View File
@@ -5,6 +5,8 @@ from contextlib import contextmanager
import psycopg
from psycopg_pool import ConnectionPool
from utils.GlobalVariable import LOCAL_IP
logger = logging.getLogger("PGPool")
logger.setLevel(logging.INFO)
@@ -66,7 +68,7 @@ class PGPool:
pg_pool = PGPool(
uri="postgresql://postgres:123456@ce_postgres/ktor2",
uri="postgresql://postgres:123456@" + LOCAL_IP + "/ktor2",
min_size=1,
max_size=20,
)