Set max pool size to 1

This commit is contained in:
2023-10-04 08:08:32 +02:00
parent dc23a1e915
commit 6f589e048f
@@ -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
}
}