Skip to content

Commit

Permalink
fix: the health check for the proxy provider sometimes do not respond (
Browse files Browse the repository at this point in the history
  • Loading branch information
Plutonium141 authored Dec 21, 2024
1 parent 5dd9889 commit 96bc233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export const proxyProviderHealthCheckAPI = (providerName: string) => {

return request
.get(`providers/proxies/${encodeURIComponent(providerName)}/healthcheck`, {
timeout: 5 * 1000,
timeout: 20 * 1000,
})
.json<Record<string, number>>()
}
Expand Down

0 comments on commit 96bc233

Please sign in to comment.