pull/715/head
Travis Fischer 2025-06-17 16:06:42 +07:00
rodzic 07a1896e69
commit 4725b9bfad
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -12,6 +12,7 @@ export const queryClient = new QueryClient()
const retryStatusCodes = new Set([408, 413, 429, 500, 502, 503, 504])
// Inspired by https://github.com/sindresorhus/ky#retry
function retry(failureCount: number, error: any): boolean {
if (error instanceof HTTPError) {
const { status } = error.response