feat: 并发池功能

This commit is contained in:
tbphp
2025-07-06 02:00:21 +08:00
parent e6fe973ea4
commit 4dc17c12d5
9 changed files with 298 additions and 137 deletions

View File

@@ -17,6 +17,7 @@ ALLOW_CREDENTIALS=false
# 性能配置
MAX_CONCURRENT_REQUESTS=100
KEY_VALIDATION_POOL_SIZE=50
ENABLE_GZIP=true
# 数据库配置
@@ -24,7 +25,7 @@ DATABASE_DSN=user:password@tcp(localhost:3306)/gpt_load?charset=utf8mb4&parseTim
DB_AUTO_MIGRATE=true
# Redis配置
REDIS_DSN=redis://:password@localhost:6379/2
REDIS_DSN=redis://:password@localhost:6379/1
# 日志配置
LOG_LEVEL=info