Skip to content

Commit bce70c8

Browse files
avasylevmeta-codesync[bot]
authored andcommitted
Increase LRU max lookup limit
Summary: During S571342 LRU cleanup wasn't fully working because limit is hit. Increasing 100x. Reviewed By: lima1756 Differential Revision: D83796403 fbshipit-source-id: d2ff1f9ac9efd478001cc1b45dd0d5e1c1e3c7f3
1 parent 20f9db3 commit bce70c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

katran/lib/KatranLb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ constexpr int kMaxInvalidServerIds = 10000;
4444

4545
// Limit LRU lookups when traversing entire map.
4646
// In case high ingress results in high LRU insertion rate, affecting traversal.
47-
const int kLruMaxLookups = 100 * 1000;
47+
const int kLruMaxLookups = 10 * 1000 * 1000;
4848
} // namespace
4949

5050
KatranLb::KatranLb(

0 commit comments

Comments
 (0)