disconnect_inbounds_task

Function disconnect_inbounds_task 

Source
pub async fn disconnect_inbounds_task<H: DhtHandler>(
    handler: Arc<H>,
) -> Result<()>
Expand description

Close inbound connections that are unused for too long.