network: establish sessions without spending withheld request attempts

This commit is contained in:
Adrien Beraud committed 2026-10-29 23:28:48 -04:00
1 parent 36f67747d7
commit ea6bacf0a1
5 files changed
+120 -20

No files matched your search

+6
View File
@@ -9,6 +9,12 @@ constexpr size_t CLEANUP_MAX_NODES {4 * 1024};
constexpr size_t CLEANUP_FREQ {4 * 1024};
NodeCache::~NodeCache()
{
clear();
}
void
NodeCache::clear()
{
cache_4.setExpired();
cache_6.setExpired();