If a key always takes a very long time to regenerate, is popular, and does not use lockTSE, it still needs to be cacheable. Since a value cannot be more up-to-date than the time it takes to regenerate it, take the "lower the TTL" approach for these cases. Use "walltime" to narrow down the "reject the set()" case based on regeneration time. This is already provided by getWithSetCallback() automatically. Bug: T244877 Change-Id: Id43fb02738b28dad3bc922057efb7eee0272d0e1 |
||
|---|---|---|
| .. | ||
| BagOStuffTest.php | ||
| CachedBagOStuffTest.php | ||
| HashBagOStuffTest.php | ||
| MultiWriteBagOStuffTest.php | ||
| WANObjectCacheTest.php | ||