I\'m using spring-boot and @Scheduled annotation to execute some tasks.
spring-boot
@Scheduled
How can I find out what the default pool size of scheduled tasks is
a very simple way to do this:
@Configuration public class ScheduleConfig { ScheduleConfig(ThreadPoolTaskScheduler threadPoolTaskScheduler) { threadPoolTaskScheduler.setPoolSize(10); } }