From 7adc370ba26985626f439bfad620d7238389f376 Mon Sep 17 00:00:00 2001 From: alikia2x Date: Wed, 26 Mar 2025 23:00:45 +0800 Subject: [PATCH] update: increase concurrency of snapshot worker --- src/worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker.ts b/src/worker.ts index ad0c9b6..c8cbb6d 100644 --- a/src/worker.ts +++ b/src/worker.ts @@ -88,7 +88,7 @@ const snapshotWorker = new Worker( break; } }, - { connection: redis as ConnectionOptions, concurrency: 10, removeOnComplete: { count: 2000 } }, + { connection: redis as ConnectionOptions, concurrency: 50, removeOnComplete: { count: 2000 } }, ); snapshotWorker.on("error", (err) => {