Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(queue-worker): reduce concurrency

Gergő Móricz797577e2daf8
diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.ts
index 0e00c1a72..9d344e768 100644
--- a/apps/api/src/services/queue-worker.ts
+++ b/apps/api/src/services/queue-worker.ts
@@ -358,7 +358,7 @@ const separateWorkerFun = (
lockDuration: 60 * 1000, // 60 seconds
stalledInterval: 60 * 1000, // 60 seconds
maxStalledCount: 10, // 10 times
- concurrency: 10,
+ concurrency: 8,
useWorkerThreads: true,
workerThreadsOptions: {
execArgv: filteredExecArgv,