longer self_check timeout
Massimo Melina committed
May 11, 2026 at 20:17 UTC
17bbebeb2d4c20c263dac59495f58ce7051910fa
1 file changed
+1
-1
src/selfCheck.ts
+1
-1
@@ -48,7 +48,7 @@ export async function selfCheck(url: string) {
48
console.debug(svc)
49
body = applySymbols(body)
50
serviceUrl = applySymbols(serviceUrl)!
51
- const res = await haveTimeout(6_000, httpString(serviceUrl, { family, ...rest, body }))
51
+ const res = await haveTimeout(8_000, httpString(serviceUrl, { family, ...rest, body }))
52
const success = new RegExp(regexpSuccess).test(res)
53
const failure = new RegExp(regexpFailure).test(res)
54
if (success === failure) throw 'inconsistent: ' + service + ': ' + res // this result cannot be trusted