Skip to content

Commit

Permalink
Add warn log
Browse files Browse the repository at this point in the history
  • Loading branch information
Akila94 committed Jan 22, 2024
1 parent d040c6a commit be79287
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public CertificateVerificationManager(Integer cacheAllocatedSize, Integer cacheD
&& cacheAllocatedSize < Constants.CACHE_MAX_ALLOCATED_SIZE) {
this.cacheSize = cacheAllocatedSize;
}
log.warn("The cache size is out of range. Hence, using the default cache size value of "
+ Constants.CACHE_DEFAULT_ALLOCATED_SIZE + ".");
if (cacheDelayMins != null && cacheDelayMins > Constants.CACHE_MIN_DELAY_MINS
&& cacheDelayMins < Constants.CACHE_MAX_DELAY_MINS) {
this.cacheDelayMins = cacheDelayMins;
Expand Down

0 comments on commit be79287

Please sign in to comment.