-
Notifications
You must be signed in to change notification settings - Fork 224
Closed
Description
approximate reproduction:
const client = getAlgoliaClient(applicationData, {
queryParameters: userId ? { 'X-Algolia-UserID': userId } : undefined,
timeouts: {
connect: 2,
read: 3600000,
write: 3600000,
},
});
solution:
- calculate max timeout (using
algoliasearch-client-javascript/packages/transporter/src/concerns/createRetryableOptions.ts
Line 41 in fec87a9
getTimeout(timeoutsCount: number, baseTimeout: number): number { - when transporter gets created, error when timeout is larger than 2147483647/0x7FFFFFFF/2^31-1
Metadata
Metadata
Assignees
Labels
No labels