mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
dht: add connectivityChanged()
This commit is contained in:
1 parent
3f7d2df9b1
commit
f13b28fed4
4 files changed
+35
No files matched your search
+11
@@ -1705,6 +1705,17 @@ Dht::expireStorage()
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Dht::connectivityChanged()
|
||||
{
|
||||
confirm_nodes_time = now;
|
||||
mybucket_grow_time = now;
|
||||
mybucket6_grow_time = now;
|
||||
for (auto& s : searches)
|
||||
for (auto& sn : s.nodes)
|
||||
sn.listenStatus = {};
|
||||
}
|
||||
|
||||
void
|
||||
Dht::rotateSecrets()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user