mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-22 16:06:27 -05:00
policy_cache.hpp
This commit is contained in:
parent
a2d301be02
commit
95fa4aa1e6
1 changed files with 2 additions and 1 deletions
|
|
@ -62,7 +62,8 @@ public:
|
|||
void
|
||||
cleanup()
|
||||
{
|
||||
|
||||
while(_cache.size() > _max_size)
|
||||
_cache.erase(_cache.begin());
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue