From dc23a1e9150d6689765f01de9d0dcc5dd3fcdd14 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Tue, 3 Oct 2023 08:26:14 +0200 Subject: [PATCH] Reduce thread size to 1 --- .../timetable/configuration/ThreadPoolTaskSchedulerConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module-server/src/main/kotlin/de/twomartens/timetable/configuration/ThreadPoolTaskSchedulerConfig.kt b/module-server/src/main/kotlin/de/twomartens/timetable/configuration/ThreadPoolTaskSchedulerConfig.kt index 555ebfa..c18d3ce 100644 --- a/module-server/src/main/kotlin/de/twomartens/timetable/configuration/ThreadPoolTaskSchedulerConfig.kt +++ b/module-server/src/main/kotlin/de/twomartens/timetable/configuration/ThreadPoolTaskSchedulerConfig.kt @@ -4,7 +4,7 @@ import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler -private const val POOL_SIZE = 5 +private const val POOL_SIZE = 1 private const val THREAD_NAME_PREFIX = "ThreadPoolTaskScheduler"