Skip to content
Snippets Groups Projects
Commit de2d1d50 authored by Satsuki Ueno's avatar Satsuki Ueno Committed by CQ bot account: commit-bot@chromium.org
Browse files

[identity] Enforce maximum size on token cache

This places an upper bound on the size of the cache.
Evicts expired tokens on get/put operations, and evicts a random token
when needed to make room for another token.

Change-Id: I8a9eb2926ab134c3e756b1f6b152c56e5bd1a199
parent ca0e1ff3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment