fix(registry): increase default maxRetries in fetchWithRetry from 3 to 6 to improve resilience when fetching registry resources

This commit is contained in:
2026-02-07 12:58:44 +00:00
parent 4585801f32
commit a4552498ac
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ export class RegistryCopy {
url: string,
options: RequestInit & { duplex?: string },
timeoutMs: number = 300_000,
maxRetries: number = 3,
maxRetries: number = 6,
): Promise<Response> {
const method = (options.method || 'GET').toUpperCase();
let lastError: Error | null = null;