Merge branch 'RED-9387-comments' into 'master'

RED-9387 - Update hasComments flag based on entity log entries number of comments

Closes RED-9387

See merge request redactmanager/persistence-service!551
This commit is contained in:
Andrei Isvoran 2024-06-19 12:17:53 +02:00
commit 2b574b502e

View File

@ -117,6 +117,10 @@ public class AnalysisFlagsCalculationService {
hasUpdates = true;
}
if (entry.getNumberOfComments() > 0) {
hasComments = true;
}
}
log.info("Flag Calculations for file: {} took: {}ms", fileId, System.currentTimeMillis() - startTime);