mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-26 02:09:52 +08:00
policy_cache.hpp
This commit is contained in:
parent
a2d301be02
commit
95fa4aa1e6
|
@ -62,7 +62,8 @@ public:
|
|||
void
|
||||
cleanup()
|
||||
{
|
||||
|
||||
while(_cache.size() > _max_size)
|
||||
_cache.erase(_cache.begin());
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue
Block a user