diff options
author | Timothy Arceri <[email protected]> | 2017-04-28 13:05:52 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-04-28 14:35:27 +1000 |
commit | 22fa3d90a92c1628215d0f5fccbe1116d4f5147f (patch) | |
tree | b610a359a5604426f98590196cc695dace1168ce /src/util/disk_cache.h | |
parent | 032861693eb311bb1b847b988ac8c395ebadb1a2 (diff) |
util/disk_cache: remove percentage based max cache limit
The more I think about it the more this seems like a bad idea.
When we were deleting old cache dirs this wasn't so bad as it
was unlikely we would ever hit the actual limit before things
were cleaned up. Now that we only start cleaning up old cache
items once the limit is reached the a percentage based max
cache limit is more risky.
For the inital release of shader cache I think its better to
stick to a more conservative cache limit, at least until we
have some way of cleaning up the cache more aggressively.
Cc: "17.1" <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/util/disk_cache.h')
0 files changed, 0 insertions, 0 deletions