annotation.api/src/main/java/ch/benlegiang/annotation/api/Application.java
<filename>annotation.api/src/main/java/ch/benlegiang/annotation/api/Application.javapackage ch.benlegiang.annotation.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

@SpringBootApplication
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
		int coreCount = Runtime.getRuntime().availableProcessors();
		ExecutorService service = Executors.newFixedThreadPool(coreCount * 2);

	}
}
