1
0
mirror of https://github.com/Zygo/bees.git synced 2025-07-06 02:22:27 +02:00

bees: limit FD cache size explicitly

This will allow the default size limit for cache objects to be changed
with impunity.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell
2017-01-26 22:03:10 -05:00
parent e509210428
commit 9daa51edaa
2 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,7 @@ BeesFdCache::BeesFdCache()
BEESCOUNTADD(open_ino_ms, open_timer.age() * 1000);
return rv;
});
m_file_cache.max_size(BEES_FD_CACHE_SIZE);
}
Fd