mirror of
https://github.com/2martens/tsw-timetable.git
synced 2026-10-17 16:06:51 +02:00
Set max pool size to 1
This commit is contained in:
+1
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user