defaultMaxKeys constant
int
const defaultMaxKeys
The most keys the counter keeps. One key is about 150 bytes, so this is about 15 MB. Without a cap, a client that sends from many ips (an IPv6 /64 has 2^64) could grow the map with no end.
Implementation
static const int defaultMaxKeys = 100000;