mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-04-21 12:31:43 +00:00
policy_cache.hpp
This commit is contained in:
@@ -43,6 +43,7 @@ public:
|
||||
{
|
||||
_cache.visit_while([&](Map::value_type &v_)
|
||||
{
|
||||
_cache.erase(v_);
|
||||
return (_cache.size() > _max_size);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user