update: increase concurrency of snapshot worker

This commit is contained in:
alikia2x (寒寒) 2025-03-26 23:00:45 +08:00
parent b286a9d7b1
commit 7adc370ba2
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6

View File

@ -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) => {