Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Putting a versioning part in the cache key for newflag caching
# resulted in way too many cache files when using the file cache layer. # On my live system, this even used up all my /tmp filesystem's inodes. # So without active cleanup scripts, we could expect user problems. # I changed the caching layers. They do now take a $version parameter # for the put and get functions. This parameter can be considered as # a version based TTL. So if a key is requested with a newer version # than the one that is stored in the cache, NULL will be returned. # I also updated the newflag caching calls to use this new method # of cache versioning.
- Loading branch information
mmakaay
committed
Jan 20, 2007
1 parent
a08b4eb
commit 3034b4d
Showing
8 changed files
with
102 additions
and
77 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
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