Skip to content

Commit 6bdb3b9

Browse files
committed
Sem-Ver: bugfix Reduce the backend verifier cache max size from 130 to 20.
Signed-off-by: David Black <[email protected]>
1 parent ab058bc commit 6bdb3b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atlassian_jwt_auth/frameworks/common/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def get_verifier(self, settings=None):
9494
settings = self.settings
9595
return self._get_verifier(settings)
9696

97-
@lru_cache(maxsize=130)
97+
@lru_cache(maxsize=20)
9898
def _get_verifier(self, settings):
9999
retriever = settings.ASAP_KEY_RETRIEVER_CLASS(
100100
base_url=settings.ASAP_PUBLICKEY_REPOSITORY

0 commit comments

Comments
 (0)