Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f660a79d authored by Ken Chen's avatar Ken Chen Committed by Automerger Merge Worker
Browse files

Change MAX_ENTRIES_LOWER_BOUND from 0 to 1 am: a4ed02f3 am: c5bcb759

parents e43e0cf2 c5bcb759
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@ using std::span;
 * *****************************************
 */
const int MAX_ENTRIES_DEFAULT = 64 * 2 * 5;
const int MAX_ENTRIES_LOWER_BOUND = 0;
const int MAX_ENTRIES_LOWER_BOUND = 1;
const int MAX_ENTRIES_UPPER_BOUND = 100 * 1000;
constexpr int DNSEVENT_SUBSAMPLING_MAP_DEFAULT_KEY = -1;

+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ constexpr int DNS_PORT = 53;
// Constant values sync'd from res_cache.cpp
constexpr int DNS_HEADER_SIZE = 12;
constexpr int MAX_ENTRIES_DEFAULT = 64 * 2 * 5;
constexpr int MAX_ENTRIES_LOWER_BOUND = 0;
constexpr int MAX_ENTRIES_LOWER_BOUND = 1;
constexpr int MAX_ENTRIES_UPPER_BOUND = 100 * 1000;

namespace {