diff options
author | Timothy Arceri <tarceri@itsqueeze.com> | 2017-03-14 11:22:44 +1100 |
---|---|---|
committer | Timothy Arceri <tarceri@itsqueeze.com> | 2017-03-15 11:15:11 +1100 |
commit | c2793e2c890b828c6cb1e9694619255d69a2ca1e (patch) | |
tree | 8b9798db164df757bf60f9c7199c529be461e870 /bin/.gitignore | |
parent | 50989f87e62e0b9a4796c565a103ce45c684c673 (diff) |
util/disk_cache: don't fallback to an empty cache dir on evict
If we fail to randomly select a two letter cache dir, don't select
an empty dir on fallback.
In real world use we should never hit the fallback path but it can
be hit by tests when the cache is set to a very small max value.
Reviewed-by: Grazvydas Ignotas <notasas@gmail.com>
Diffstat (limited to 'bin/.gitignore')
0 files changed, 0 insertions, 0 deletions