WIP: feat: Improve batch performance
2 unresolved threads
2 unresolved threads
Merge request reports
Activity
Filter activity
assigned to @deniro-stopcovid
1 package fr.gouv.stopc.robert.server.batch.component; 2 3 import org.springframework.context.annotation.Scope; 4 import org.springframework.stereotype.Component; 5 6 import lombok.Getter; 7 8 @Component 9 @Scope("singleton") changed this line in version 3 of the diff
18 private static final ContactsProcessingCounter INSTANCE = ContactsProcessingCounter.getInstance(); 19 20 @Override 21 public void beforeChunk(ChunkContext chunkContext) { 22 23 this.startTime = Instant.now(); 24 } 25 26 @Override 27 public void afterChunkError(ChunkContext context) { 28 29 // 30 } 31 32 @Override 33 @AfterChunk changed this line in version 3 of the diff
Please register or sign in to reply