mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-30 11:56:31 -05: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.visit_while([&](Map::value_type &v_)
|
||||||
{
|
{
|
||||||
|
_cache.erase(v_);
|
||||||
return (_cache.size() > _max_size);
|
return (_cache.size() > _max_size);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue