mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
policy_cache.hpp
This commit is contained in:
parent
da9fd3a0d3
commit
f155e3838e
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ public:
|
|||
{
|
||||
_cache.visit_while([&](Map::value_type &v_)
|
||||
{
|
||||
_cache.erase(v_);
|
||||
return (_cache.size() > _max_size);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue