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