Skip to content

Commit

Permalink
Reduced timing on db
Browse files Browse the repository at this point in the history
  • Loading branch information
cditcher committed Nov 15, 2024
1 parent bebf557 commit 161d903
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public List<UndoCompletionReason> getAllUndoCompletionReasonCodeList() {
List<UndoCompletionReasonEntity> undoCompletionReasonEntities = undoCompletionReasonRepository.findAll();
long end1 = System.nanoTime();
long totalTime = (end1-start1)/1000000;
if(totalTime > 500){
if(totalTime > 250){
logger.debug("Database: undoCompletionReasonRepository.findAll() took longer than 500ms: " + totalTime);
}
long start2 = System.nanoTime();
Expand Down

0 comments on commit 161d903

Please sign in to comment.