diff --git a/changelog.md b/changelog.md index 30e608b..4a0057f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ # Changelog +## 2026-02-07 - 1.17.3 - fix(registry) +increase default maxRetries in fetchWithRetry from 3 to 6 to improve resilience when fetching registry resources + +- Changed default maxRetries from 3 to 6 in ts/classes.registrycopy.ts +- Reduces failures from transient network or registry errors by allowing more retry attempts +- No API or behavior changes besides the increased default retry count + ## 2026-02-07 - 1.17.2 - fix(registry) improve HTTP fetch retry logging, backoff calculation, and token-cache warning diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 060950d..4afd70c 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tsdocker', - version: '1.17.2', + version: '1.17.3', description: 'develop npm modules cross platform with docker' } diff --git a/ts/classes.registrycopy.ts b/ts/classes.registrycopy.ts index b48e6c3..60655d4 100644 --- a/ts/classes.registrycopy.ts +++ b/ts/classes.registrycopy.ts @@ -29,7 +29,7 @@ export class RegistryCopy { url: string, options: RequestInit & { duplex?: string }, timeoutMs: number = 300_000, - maxRetries: number = 3, + maxRetries: number = 6, ): Promise { const method = (options.method || 'GET').toUpperCase(); let lastError: Error | null = null;