mirror of
https://github.com/mii443/miibgpd.git
synced 2025-08-22 15:55:26 +00:00
change sleep duration
This commit is contained in:
@ -27,7 +27,7 @@ async fn main() {
|
||||
let handle = tokio::spawn(async move {
|
||||
loop {
|
||||
peer.next().await;
|
||||
sleep(Duration::from_secs_f32(0.1)).await;
|
||||
sleep(Duration::from_millis(10)).await;
|
||||
}
|
||||
});
|
||||
handles.push(handle);
|
||||
|
Reference in New Issue
Block a user