-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: configurable last cache eviction (#25520)
* refactor: make last cache eviction optional This changes how the last cache is evicted. It will no longer run eviction on writes to the cache, instead, there is an optional method to create a last cache provider that will run eviction in a background task on a specified interval. Otherwise, when records are produced from the cache, only those that have not expired will be produced. This should reduce locks on the cache and hopefully improve performance. * feat: configurable last cache eviction interval * docs: clean up var names, code docs, and comments
- Loading branch information
Showing
6 changed files
with
113 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.