부하·장애 주입 테스트 스크립트, 테스트 전용 HTTP 제한 해제 옵션, chess.js 의존성
- scripts/loadtest.ts: 방 N개 × (선수 2 + 관전자) 연결, 방마다 2초에 한 수, 상대 수신까지 지연 p50/p95/p99, 서버 CPU·메모리, --chaos 시 서버 SIGKILL → 재시작 → 재연결·수 유실 검사 - LOADTEST_NO_HTTP_LIMITS=1(https 주소에서는 무시) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,13 @@
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": { ".": "./src/index.ts", "./*": "./src/*/index.ts" },
|
||||
"dependencies": { "@bg/engine": "workspace:*", "zod": "4.6.5" }
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./*": "./src/*/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@bg/engine": "workspace:*",
|
||||
"chess.js": "1.4.0",
|
||||
"zod": "4.6.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user