@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.
@@ -5,7 +5,7 @@ import { createHttpRequester } from "@algolia/requester-node-http";
5
5
 
6
6
  // src/ingestionClient.ts
7
7
  import { createAuth, createIterablePromise, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
8
- var apiClientVersion = "1.51.0";
8
+ var apiClientVersion = "1.52.0";
9
9
  var REGIONS = ["eu", "us"];
10
10
  function getDefaultHosts(region) {
11
11
  const url = "data.{region}.algolia.com".replace("{region}", region);
@@ -149,7 +149,7 @@ function createIngestionClient({
149
149
  validate: () => retryCount >= 50,
150
150
  message: () => `The maximum number of retries exceeded. (${retryCount}/${50})`
151
151
  },
152
- timeout: () => Math.min(retryCount * 500, 5e3)
152
+ timeout: () => Math.min(retryCount * 1500, 5e3)
153
153
  });
154
154
  }
155
155
  offset += waitBatchSize;