Pull request #575: RSS-146: Fixed endless ocr processing loop
Merge in RED/persistence-service from RSS-146 to master * commit '9edb5b771ec1bd87034a6a9422e72c2f174bd792': RSS-146: Fixed endless ocr processing loop
This commit is contained in:
commit
77f3667bc2
@ -121,7 +121,7 @@ public class FileStatusProcessingUpdateService {
|
||||
retryTemplate.execute(retryContext -> {
|
||||
log.info("Ocr processing dossier {} and file {}, Attempt to update status: {}", dossierId, fileId, retryContext.getRetryCount());
|
||||
fileStatusService.setStatusOcrProcessing(fileId,
|
||||
fileEntity.getProcessingStatus().equals(ProcessingStatus.PRE_PROCESSING) ? fileEntity.getProcessingErrorCounter() + 1 : 0);
|
||||
fileEntity.getProcessingStatus().equals(ProcessingStatus.OCR_PROCESSING) ? fileEntity.getProcessingErrorCounter() + 1 : 0);
|
||||
return null;
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user