fix: add timeout to fetch models.dev refresh request (#3059)

pull/3093/head^2
OpeOginni 2025-10-12 07:20:22 +02:00 committed by GitHub
parent 0d21164255
commit 36cf9b9922
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ export namespace ModelsDev {
headers: {
"User-Agent": Installation.USER_AGENT,
},
signal: AbortSignal.timeout(10 * 1000),
}).catch((e) => {
log.error("Failed to fetch models.dev", {
error: e,