-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unbound scheduling of trim work items
This condition should almost never be hit except if .Cache(limit) is ran in a loop, then it is possible that a state is achieved where the amount of scheduled trim operations will be equal to the amount of .Cache() calls, which can be a lot. To be honest, CacheManager, QuickList and CacheStaticHolder need to be re-organized into something that looks less offensive, doesn't use circular static dependencies and lends itself into easier testability but I CBA to do it now.
- Loading branch information
1 parent
6cb6dcc
commit b18e403
Showing
2 changed files
with
32 additions
and
4 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