feat: 并发池功能
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user