主要改动: 1. TCP缓冲区优化(16MB)- 解决公网上传速度慢问题 2. 并发数降低到1-3 - 避免4并发导致ERR_CONNECTION_RESET 3. 动态并发控制 - 根据网络环境自动调整 4. Nginx超时增加到120s - 支持大分片上传 5. 上传进度修复 - 修复剩余时间计算 6. 新增任务-页面上传器和详情组件 7. 统一部署文档为deploy-remote-build.ps1 问题修复: - 公网用户上传从200-900KB/s提升到预期3-5MB/s - 内网用户上传更稳定,无连接重置错误 - UploadProgress组件剩余时间计算修正 Co-Authored-By: Claude <noreply@anthropic.com>
96 lines
1.1 KiB
Plaintext
96 lines
1.1 KiB
Plaintext
# Dependencies
|
||
/node_modules
|
||
/.pnp
|
||
.pnp.js
|
||
|
||
# Testing
|
||
/coverage
|
||
|
||
# Next.js
|
||
/.next/
|
||
/out/
|
||
|
||
# Production
|
||
/build
|
||
|
||
# Misc
|
||
.DS_Store
|
||
*.pem
|
||
|
||
# Debug
|
||
npm-debug.log*
|
||
yarn-debug.log*
|
||
yarn-error.log*
|
||
|
||
# Local env files
|
||
.env*.local
|
||
.env
|
||
|
||
# Vercel
|
||
.vercel
|
||
|
||
# TypeScript
|
||
*.tsbuildinfo
|
||
next-env.d.ts
|
||
|
||
# Uploads(用户上传的文件)
|
||
/uploads
|
||
|
||
# 忽略的项目目录(不属于本项目)
|
||
/flnxi_sucai
|
||
/gongxiangp2
|
||
/frp_*
|
||
|
||
# Docker 缓存和构建产物
|
||
/.docker-cache
|
||
/.build-cache
|
||
/nextjs-build
|
||
/api-compiled
|
||
/backups
|
||
|
||
# 临时文件和压缩包
|
||
*.tar.gz
|
||
*.tar
|
||
.tmp-*
|
||
|
||
# 反编译文件(已完成还原,不再需要)
|
||
shadow_*.js
|
||
|
||
# 数据库和部署脚本(本地使用)
|
||
*.sql
|
||
check-*.ps1
|
||
deploy-*.ps1
|
||
sync-*.ps1
|
||
verify-*.ps1
|
||
cleanup-*.ps1
|
||
quick-verify.ps1
|
||
|
||
# IDE 配置
|
||
/.vscode
|
||
/.cursor
|
||
|
||
# 测试文件
|
||
/__tests__
|
||
|
||
# 杂项文档(本地参考用)
|
||
missing-video-files*.txt
|
||
missing-video-files*.json
|
||
*.txt.backup
|
||
|
||
# Prisma 引擎缓存
|
||
/prisma/engine-cache
|
||
|
||
|
||
# 垃圾文件(用 Git 管理,不需要备份)
|
||
*.bak
|
||
*.backup
|
||
*.old
|
||
*.tmp
|
||
*.log
|
||
*.pid
|
||
*.bin
|
||
test-*.ps1
|
||
test-*.bin
|
||
backups/
|
||
截图/
|