@okf/ootils 1.4.5 → 1.5.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.
package/dist/node.js CHANGED
@@ -377,7 +377,8 @@ var require_MongoConnector = __commonJS({
377
377
  version: ServerApiVersion.v1
378
378
  },
379
379
  maxPoolSize: 40,
380
- minPoolSize: 5
380
+ minPoolSize: 5,
381
+ bufferCommands: false
381
382
  };
382
383
  _MongoConnector.instance = this;
383
384
  if (!this.env) {
@@ -667,7 +668,6 @@ var require_WorkerManager = __commonJS({
667
668
  this.activeWorkers = [];
668
669
  }
669
670
  startAllWorkers() {
670
- if (process.env.NODE_ENV !== "production") return this.activeWorkers;
671
671
  if (this.workers.length === 0) {
672
672
  console.log("No workers provided to start");
673
673
  return [];
@@ -993,6 +993,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
993
993
  }
994
994
  },
995
995
  AI_CATEGORIZE_QUEUE: {
996
+ id: "ai-categorize-queue",
996
997
  queueConfig: {
997
998
  defaultJobOptions: {
998
999
  attempts: 3,
package/dist/node.mjs CHANGED
@@ -382,7 +382,8 @@ var require_MongoConnector = __commonJS({
382
382
  version: ServerApiVersion.v1
383
383
  },
384
384
  maxPoolSize: 40,
385
- minPoolSize: 5
385
+ minPoolSize: 5,
386
+ bufferCommands: false
386
387
  };
387
388
  _MongoConnector.instance = this;
388
389
  if (!this.env) {
@@ -672,7 +673,6 @@ var require_WorkerManager = __commonJS({
672
673
  this.activeWorkers = [];
673
674
  }
674
675
  startAllWorkers() {
675
- if (process.env.NODE_ENV !== "production") return this.activeWorkers;
676
676
  if (this.workers.length === 0) {
677
677
  console.log("No workers provided to start");
678
678
  return [];
@@ -998,6 +998,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
998
998
  }
999
999
  },
1000
1000
  AI_CATEGORIZE_QUEUE: {
1001
+ id: "ai-categorize-queue",
1001
1002
  queueConfig: {
1002
1003
  defaultJobOptions: {
1003
1004
  attempts: 3,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.4.5",
6
+ "version": "1.5.0",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",