feat: 集成限流器到服务 #176

Merged
huanghaosheng merged 9 commits from feature/ratelimit into develop 2026-06-21 12:48:05 +08:00
Showing only changes of commit d53265755a - Show all commits

View File

@@ -9,9 +9,6 @@ server:
shutdown_timeout: 15 # 生产环境优雅关闭时间稍长 shutdown_timeout: 15 # 生产环境优雅关闭时间稍长
heartbeat_interval: 30 heartbeat_interval: 30
heartbeat_timeout: 60 heartbeat_timeout: 60
allowed_origins: # 生产环境严格 CORS 白名单
- "https://camtalk.example.com"
- "https://www.camtalk.example.com"
session: session:
ttl: 60 # 生产环境会话 1 小时 ttl: 60 # 生产环境会话 1 小时