1
0
Fork 0

Fix a small logic issue in cache resize metadata method. (#4631)

This commit is contained in:
Dan Larkin-York 2018-02-20 12:46:13 -05:00 committed by Jan
parent 85abfaaa55
commit abe3f9134e
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ bool Metadata::adjustLimits(uint64_t softLimit, uint64_t hardLimit) noexcept {
// special case: finalize shrinking case above
if ((softLimit == Cache::minSize) && (hardLimit == Cache::minSize) &&
(usage < hardLimit)) {
(usage <= hardLimit)) {
return approve();
}