From 708a737e5f048279a046a907f32306961bee0111 Mon Sep 17 00:00:00 2001 From: leif stawnyczy Date: Fri, 22 Mar 2024 15:00:24 -0400 Subject: [PATCH] remove text --- .../ca/uhn/fhir/batch2/maintenance/JobInstanceProcessor.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobInstanceProcessor.java b/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobInstanceProcessor.java index 64f3e1e05e6..63a2d6605d2 100644 --- a/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobInstanceProcessor.java +++ b/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobInstanceProcessor.java @@ -39,7 +39,6 @@ import ca.uhn.fhir.util.StopWatch; import org.apache.commons.lang3.time.DateUtils; import org.slf4j.Logger; import org.springframework.data.domain.Page; -import org.springframework.transaction.PlatformTransactionManager; import java.util.Iterator; import java.util.List; @@ -346,9 +345,6 @@ public class JobInstanceProcessor { */ private void enqueueReadyChunks( JobInstance theJobInstance, JobDefinition theJobDefinition, boolean theIsGatedExecutionAdvancementBool) { - // we need a transaction to access the stream of workchunks - // because workchunks are created in READY state, there's an unknown - // number of them (and so we could be reading many from the db) Iterator iter = getReadyChunks(theJobInstance.getInstanceId()); AtomicInteger counter = new AtomicInteger();