this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

retry?

alice 242979fe 30111cc9

+9 -2
+9 -2
src/stages/stage3.ts
··· 150 150 151 151 export async function processDidsAndFetchData(dids: DidAndPds[]): Promise<void> { 152 152 const limit = pLimit(PDS_DATA_FETCH_CONCURRENCY); 153 - // eslint-disable-next-line @typescript-eslint/unbound-method 154 - axiosRetry(axios, { retries: 10, retryDelay: axiosRetry.exponentialDelay }); 153 + 154 + axiosRetry(axios, { 155 + retries: 10, 156 + // eslint-disable-next-line @typescript-eslint/unbound-method 157 + retryDelay: axiosRetry.exponentialDelay, 158 + onRetry: (retryCount, error) => { 159 + console.log(`Retry ${retryCount} because of error: ${error.message}`); 160 + }, 161 + }); 155 162 const context: ProcessingContext = { 156 163 successfulRequests: 0, 157 164 unsuccessfulRequests: 0,