content: package org.ecomm.ecommcart;
  
  import org.springframework.boot.SpringApplication;
  import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
  import org.springframework.boot.autoconfigure.SpringBootApplication;
  import org.springframework.cloud.openfeign.EnableFeignClients;
  import org.springframework.cloud.openfeign.FeignAutoConfiguration;
  import org.springframework.context.annotation.Bean;
  import org.springframework.scheduling.annotation.EnableAsync;
  import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
  
  import java.util.concurrent.Executor;
  
  @SpringBootApplication
  @EnableFeignClients
  @ImportAutoConfiguration({FeignAutoConfiguration.class})
  @EnableAsync
  public class EcommCartApplication {
  
    public static void main(String[] args) {
      SpringApplication.run(EcommCartApplication.class, args);
    }
  
    @Bean
    public Executor taskExecutor() {
      ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
      executor.setCorePoolSize(2);
      executor.setMaxPoolSize(2);
      executor.setQueueCapacity(500);
      executor.setThreadNamePrefix("GithubLookup-");
      executor.initialize();
      return executor;
    }
  }
  