package ch.unisg.executorcomputation;

import java.util.concurrent.TimeUnit;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import ch.unisg.executorcomputation.executor.domain.Executor;

@SpringBootApplication
public class ExecutorcomputationApplication {

	public static void main(String[] args) {

        try {
            TimeUnit.SECONDS.sleep(40);
        } catch (InterruptedException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

		SpringApplication.run(ExecutorcomputationApplication.class, args);
		Executor.getExecutor();
	}

}
