Skip to content

Commit

Permalink
fixes #1855 change jwt cache exceeds limit from error to warn (#1856)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu authored Aug 4, 2023
1 parent 340bfff commit 94fb42d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public JwtClaims verifyJwt(String jwt, boolean ignoreExpiry, boolean isToken, St
cache.put(jwt, claims);
}
if(cache.estimatedSize() > config.getJwtCacheFullSize()) {
logger.error("JWT cache exceeds the size limit " + config.getJwtCacheFullSize());
logger.warn("JWT cache exceeds the size limit " + config.getJwtCacheFullSize());
}
}
return claims;
Expand Down

0 comments on commit 94fb42d

Please sign in to comment.