Add "last_refreshed" property on buckets

This commit is contained in:
Igor Katson 2023-11-30 09:59:13 +00:00
parent f04277cc11
commit 658bbdb652
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
2 changed files with 86 additions and 21 deletions

View file

@ -775,6 +775,10 @@ impl DhtWorker {
Ok(())
}
async fn bucket_refresher(&self) -> anyhow::Result<()> {
todo!()
}
async fn pinger(&self, mut rx: UnboundedReceiver<(Id20, SocketAddr)>) -> anyhow::Result<()> {
let mut futs = FuturesUnordered::new();
loop {