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

This commit is contained in:
Andrei Isvoran 2024-06-19 12:19:18 +03:00
parent 67a0894fa5
commit b17409d601

View File

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