mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-25 19:14:12 +08:00
fix: the health check for the proxy provider sometimes do not respond (#1255)
This commit is contained in:
parent
5dd9889b0a
commit
96bc233f89
@ -171,7 +171,7 @@ export const proxyProviderHealthCheckAPI = (providerName: string) => {
|
|||||||
|
|
||||||
return request
|
return request
|
||||||
.get(`providers/proxies/${encodeURIComponent(providerName)}/healthcheck`, {
|
.get(`providers/proxies/${encodeURIComponent(providerName)}/healthcheck`, {
|
||||||
timeout: 5 * 1000,
|
timeout: 20 * 1000,
|
||||||
})
|
})
|
||||||
.json<Record<string, number>>()
|
.json<Record<string, number>>()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user