From 3a54605d4e7ec5b4f47131e8d23255be35b7beac Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Jun 2022 11:53:12 +0200 Subject: Process images in a dedicated worker --- server/initializers/constants.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/initializers') diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 175935835..c6989c38b 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -748,6 +748,10 @@ const WORKER_THREADS = { DOWNLOAD_IMAGE: { CONCURRENCY: 3, MAX_THREADS: 1 + }, + PROCESS_IMAGE: { + CONCURRENCY: 1, + MAX_THREADS: 5 } } -- cgit v1.2.3