@algolia/ingestion 1.51.0 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ import { createFetchRequester } from "@algolia/requester-fetch";
4
4
 
5
5
  // src/ingestionClient.ts
6
6
  import { createAuth, createIterablePromise, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
7
- var apiClientVersion = "1.51.0";
7
+ var apiClientVersion = "1.52.0";
8
8
  var REGIONS = ["eu", "us"];
9
9
  function getDefaultHosts(region) {
10
10
  const url = "data.{region}.algolia.com".replace("{region}", region);
@@ -148,7 +148,7 @@ function createIngestionClient({
148
148
  validate: () => retryCount >= 50,
149
149
  message: () => `The maximum number of retries exceeded. (${retryCount}/${50})`
150
150
  },
151
- timeout: () => Math.min(retryCount * 500, 5e3)
151
+ timeout: () => Math.min(retryCount * 1500, 5e3)
152
152
  });
153
153
  }
154
154
  offset += waitBatchSize;