Issue-ID: EXTAPI-139
Change-Id: I59d0601b397a30df50dc52e42c2cc9234cf6ac28
Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
registerOrderItemExecutionPlan(serviceOrder.getOrderItem(), serviceOrderInfoJson);
}
-
- @Scheduled(fixedRate = 2000)
+ // Using fixedDelay to mitigate against Scheduler queue backlog with fixedRate
+ @Scheduled(fixedDelay = 2000)
private void processExecutionPlan() throws InterruptedException {
List<ExecutionTask> taskToExecute = executionTaskRepository.findByReliedTasksIsEmpty();
for (ExecutionTask executionTask : taskToExecute) {