changed parseBookTaskExecutor pool size based on empiric tests

This commit is contained in:
Gauthier Roebroeck 2019-08-20 19:46:39 +08:00
parent 5619661d95
commit ac8afa4d50

View file

@ -13,6 +13,6 @@ class AsyncConfiguration {
@Bean
fun parseBookTaskExecutor(): Executor =
ThreadPoolTaskExecutor().apply {
corePoolSize = 5
corePoolSize = 2
}
}