title: What is the default scheduler pool size in spring-boot?
body: <p>I'm using <code>spring-boot</code> and <code>@Scheduled</code> annotation to execute some tasks.</p>
  
  <p>How can I find out what the default pool size of scheduled tasks is by default in spring-boot?</p>
  
  <p>Reason: the following class does not execute the jobs in parallel, but one after the other. Maybe only a single thread executor is configured by default?</p>
  
  <pre><code>@Service
  public class ZipFileTesterAsync {
  
      @Scheduled(fixedDelay = 60000, initialDelay = 500)
      public void run() throws Exception {
          System.out.println("import 1");
          TimeUnit.MINUTES.sleep(1);
          System.out.println("import 1 finished");
      }
  
      @Scheduled(fixedDelay = 60000, initialDelay = 1000)
      public void run2() throws Exception {
          System.out.println("import 2");
          TimeUnit.MINUTES.sleep(1);
      }
  }
  </code></pre>
  
  <p>Result: the 2nd job is executed after the first finished.</p>