Reduce thread size to 1

This commit is contained in:
2023-10-03 08:26:14 +02:00
parent d1b681bfad
commit dc23a1e915
@@ -4,7 +4,7 @@ import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration import org.springframework.context.annotation.Configuration
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler 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" private const val THREAD_NAME_PREFIX = "ThreadPoolTaskScheduler"