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

This commit is contained in:
Andrei Isvoran 2024-06-19 12:30:43 +03:00
parent dc96ff8439
commit e5b23b2df7

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);