diff --git a/lib/tdf3/src/utils/chunkers.ts b/lib/tdf3/src/utils/chunkers.ts index 11d40bff..66edccd4 100644 --- a/lib/tdf3/src/utils/chunkers.ts +++ b/lib/tdf3/src/utils/chunkers.ts @@ -5,7 +5,7 @@ import { type AnyTdfStream, isAnyTdfStream } from '../client/tdf-stream.js'; import axiosRetry from 'axios-retry'; // @ts-ignore -axiosRetry(axios, { retries: 3 }); // Retries all idempotent requests (GET, HEAD, OPTIONS, PUT, DELETE) +axiosRetry(axios, { retries: 3, retryDelay: axiosRetry.exponentialDelay }); // Retries all idempotent requests (GET, HEAD, OPTIONS, PUT, DELETE) /** * Read data from a seekable stream.