@okf/ootils 1.6.4 → 1.6.5

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.
package/dist/node.js CHANGED
@@ -1255,6 +1255,29 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
1255
1255
  // ...60 seconds (higher throughput for chunking)
1256
1256
  }
1257
1257
  }
1258
+ },
1259
+ CHUNKS_ELASTIC_SYNC_QUEUE: {
1260
+ id: "chunks-elastic-sync-queue",
1261
+ queueConfig: {
1262
+ defaultJobOptions: {
1263
+ attempts: 3,
1264
+ backoff: {
1265
+ type: "exponential",
1266
+ delay: 2e3
1267
+ },
1268
+ removeOnComplete: 30,
1269
+ removeOnFail: 100
1270
+ }
1271
+ },
1272
+ workerConfig: {
1273
+ concurrency: 5,
1274
+ limiter: {
1275
+ max: 15,
1276
+ // (lets always keep this same as content enhance & embed since it comes immediately after)
1277
+ duration: 6e4
1278
+ // ...60 seconds (higher throughput for chunking)
1279
+ }
1280
+ }
1258
1281
  }
1259
1282
  };
1260
1283
  }
package/dist/node.mjs CHANGED
@@ -1260,6 +1260,29 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
1260
1260
  // ...60 seconds (higher throughput for chunking)
1261
1261
  }
1262
1262
  }
1263
+ },
1264
+ CHUNKS_ELASTIC_SYNC_QUEUE: {
1265
+ id: "chunks-elastic-sync-queue",
1266
+ queueConfig: {
1267
+ defaultJobOptions: {
1268
+ attempts: 3,
1269
+ backoff: {
1270
+ type: "exponential",
1271
+ delay: 2e3
1272
+ },
1273
+ removeOnComplete: 30,
1274
+ removeOnFail: 100
1275
+ }
1276
+ },
1277
+ workerConfig: {
1278
+ concurrency: 5,
1279
+ limiter: {
1280
+ max: 15,
1281
+ // (lets always keep this same as content enhance & embed since it comes immediately after)
1282
+ duration: 6e4
1283
+ // ...60 seconds (higher throughput for chunking)
1284
+ }
1285
+ }
1263
1286
  }
1264
1287
  };
1265
1288
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.6.4",
6
+ "version": "1.6.5",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",