Hi,
I have integrated Camunda into spring boot application.
I have a TimerCatchingEvent which is set to PT2M, 2 minutes. But the service task after the timercatching event doesn’t gets triggered exactly after 2 minutes. It takes around 2 minutes and 20-30 seconds extra.
My application is very critical when considering time and can’t afford to have to those extra 20-30 seconds.
How can i change the task executor timing configuration?
Help is much appreciated.
Thanks
I have done below but still no luck
@Configuration
public class CamundaConfiguration {
@Bean
public TaskExecutor camundaTaskExecutor() {
final ThreadPoolTaskExecutor threadPoolTaskExecutor = new ThreadPoolTaskExecutor();
threadPoolTaskExecutor.setCorePoolSize(5);
threadPoolTaskExecutor.setMaxPoolSize(20);
threadPoolTaskExecutor.setKeepAliveSeconds(5);
return threadPoolTaskExecutor;
}
}