mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
policy_cache.hpp
This commit is contained in:
parent
b388c6699a
commit
da9fd3a0d3
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ public:
|
|||
{
|
||||
_cache.visit_while([&](Map::value_type &v_)
|
||||
{
|
||||
return false;
|
||||
return (_cache.size() > _max_size);
|
||||
});
|
||||
|
||||
_cache.insert_or_assign(key_,val_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue