diff --git a/module-server/src/main/kotlin/de/twomartens/timetable/configuration/ThreadPoolTaskExecutorConfig.kt b/module-server/src/main/kotlin/de/twomartens/timetable/configuration/ThreadPoolTaskExecutorConfig.kt index 667ce73..8481538 100644 --- a/module-server/src/main/kotlin/de/twomartens/timetable/configuration/ThreadPoolTaskExecutorConfig.kt +++ b/module-server/src/main/kotlin/de/twomartens/timetable/configuration/ThreadPoolTaskExecutorConfig.kt @@ -12,6 +12,7 @@ open class ThreadPoolTaskExecutorConfig { open fun threadPoolTaskExecutor(): ThreadPoolTaskExecutor { val executor = ThreadPoolTaskExecutor() executor.corePoolSize = CORE_POOL_SIZE + executor.maxPoolSize = CORE_POOL_SIZE return executor } } \ No newline at end of file