Skip to content

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

fix(queue-worker): decrease concurrency to avoid stalling other workers

Gergő Móricz33bf7eb14de2
diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.ts
index 11a5a8437..b9e3d6ad0 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,