From dead3138b359274c4b8efd708df4ec60a2d931a5 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 28 Feb 2022 12:07:21 +0100 Subject: [PATCH] :sparkles: Reduce the size of the default thread pool --- backend/src/app/main.clj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/app/main.clj b/backend/src/app/main.clj index b8464c39f..cd3a547f3 100644 --- a/backend/src/app/main.clj +++ b/backend/src/app/main.clj @@ -26,7 +26,7 @@ ;; Default thread pool for IO operations [::default :app.worker/executor] - {:parallelism (cf/get :default-executor-parallelism 120) + {:parallelism (cf/get :default-executor-parallelism 60) :prefix :default} ;; Constrained thread pool. Should only be used from high demand @@ -57,7 +57,6 @@ :app.migrations/all {:main (ig/ref :app.migrations/migrations)} - :app.msgbus/msgbus {:backend (cf/get :msgbus-backend :redis) :redis-uri (cf/get :redis-uri)}