fix: harden backend stability and test production utilities

This commit is contained in:
237899745
2026-07-27 12:17:57 +08:00
parent 2c5a22fad8
commit f90311e68c
20 changed files with 803 additions and 1388 deletions

View File

@@ -72,8 +72,10 @@
### 环境要求
- **操作系统**: Linux (Ubuntu 18.04+ / Debian 10+ / CentOS 7+)
- **Node.js**: 20.x LTS支持 20-24推荐与 `.nvmrc` 保持一致)
- **内存**: 最低 1GB RAM推荐 2GB+
- **磁盘空间**: 至少 2GB 可用空间
- **后端实例数**: 当前限流与用量缓存为进程内状态PM2 必须保持单实例 `fork` 模式
### 方式1: 一键部署(推荐)⭐