Coach: der Server-Fetch wartet so lange wie der Job, nicht 300 s wie undici

Nodes eingebauter fetch bricht nach fuenf Minuten mit 'fetch failed' ab — egal, welches
Job-Timeout gesetzt ist. Ollama hatte den 8k-Prompt tatsaechlich fertig, die API hatte nur
schon aufgelegt. Jetzt ein undici-Dispatcher, dessen Timeouts aus dem Job-Timeout
abgeleitet sind; AbortController gewinnt weiterhin.
This commit is contained in:
Duarte Santos committed 2026-08-29 21:24:01 +02:00
1 parent 3fe39fde2f
commit 0d38bc07f0
5 files changed
+91 -16

No files matched your search

+11 -14
View File
@@ -1,15 +1,16 @@
{
"name": "gym-api",
"version": "1.2.4",
"version": "1.2.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "gym-api",
"version": "1.2.4",
"version": "1.2.11",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@simplewebauthn/server": "^13.1.1",
"undici": "^7.29.0",
"web-push": "^3.6.7"
},
"optionalDependencies": {
@@ -74,9 +75,6 @@
"cpu": [
"arm64"
],
"libc": [
"glibc"
],
"license": "SEE LICENSE IN LICENSE.md",
"optional": true,
"os": [
@@ -90,9 +88,6 @@
"cpu": [
"arm64"
],
"libc": [
"musl"
],
"license": "SEE LICENSE IN LICENSE.md",
"optional": true,
"os": [
@@ -106,9 +101,6 @@
"cpu": [
"x64"
],
"libc": [
"glibc"
],
"license": "SEE LICENSE IN LICENSE.md",
"optional": true,
"os": [
@@ -122,9 +114,6 @@
"cpu": [
"x64"
],
"libc": [
"musl"
],
"license": "SEE LICENSE IN LICENSE.md",
"optional": true,
"os": [
@@ -1856,6 +1845,14 @@
"url": "https://opencollective.com/express"
}
},
"node_modules/undici": {
"version": "7.29.0",
"resolved": "https://registry.npmjs.org/undici/-/undici-7.29.0.tgz",
"integrity": "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==",
"engines": {
"node": ">=20.18.1"
}
},
"node_modules/unpipe": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",