Skip to content

Commit

Permalink
Updated message
Browse files Browse the repository at this point in the history
  • Loading branch information
cditcher committed Nov 14, 2024
1 parent 8ee6571 commit ecf434a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ public List<StudentUndoCompletionReason> getAllStudentUndoCompletionReasonsList(
long start1 = System.nanoTime();
List<StudentUndoCompletionReasonEntity> entities = studentUndoCompletionReasonRepository.findByGraduationStudentRecordID(studentID);
long end1 = System.nanoTime();
logger.debug("findByGraduationStudentRecordID elapsed Time in nano seconds: "+ (end1-start1));
long totalTime = (end1-start1)/1000000;
if(totalTime > 1000){
logger.debug("findByGraduationStudentRecordID took longer than 1s: " + totalTime);
}
return studentUndoCompletionReasonTransformer.transformToDTO(entities);
}

Expand Down

0 comments on commit ecf434a

Please sign in to comment.