Add "last_refreshed" property on buckets
This commit is contained in:
parent
f04277cc11
commit
658bbdb652
2 changed files with 86 additions and 21 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue