feat(timeout): prevent Cloudflare 524 timeouts on long generations via SSE heartbeats and chunked keep-alives
This commit is contained in:
parent
ba57e3e394
commit
0e83233715
7 changed files with 385 additions and 25 deletions
|
|
@ -8,7 +8,7 @@
|
|||
"start": "node dist/index.js",
|
||||
"dev": "ts-node src/index.ts",
|
||||
"watch": "tsc --watch",
|
||||
"test": "API_PASSWORD=test_password ts-node test-revolver.ts && API_PASSWORD=test_password ts-node test-integration.ts"
|
||||
"test": "API_PASSWORD=test_password ts-node test-revolver.ts && API_PASSWORD=test_password ts-node test-integration.ts && API_PASSWORD=test_password ts-node test-timeout-keepalive.ts"
|
||||
},
|
||||
"keywords": ["openai", "gemini", "api", "rotation"],
|
||||
"author": "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue