std::map<std::string, std::list<std::pair<Netmask, unsigned int>>> DynBlockMaintenance::s_topNMGsByReason;
std::map<std::string, std::list<std::pair<DNSName, unsigned int>>> DynBlockMaintenance::s_topSMTsByReason;
size_t DynBlockMaintenance::s_topN{20};
-time_t DynBlockMaintenance::s_expiredDynBlocksPurgeInterval{300};
+time_t DynBlockMaintenance::s_expiredDynBlocksPurgeInterval{60};
void DynBlockMaintenance::collectMetrics()
{
frees up the memory they use.
Setting this value to 0 disable the purging mechanism, so entries will remain in the tree.
- :param int sec: The interval between two runs of the cleaning algorithm, in seconds. Default is 300 (5 minutes), 0 means disabled.
+ :param int sec: The interval between two runs of the cleaning algorithm, in seconds. Default is 60 (1 minute), 0 means disabled.
.. _exceedfuncs: