mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-21 04:53:19 +03:00
This commit is contained in:
@@ -122,6 +122,9 @@ impl RendezvousMediator {
|
|||||||
if elapsed < CONNECT_TIMEOUT {
|
if elapsed < CONNECT_TIMEOUT {
|
||||||
sleep(((CONNECT_TIMEOUT - elapsed) / 1000) as _).await;
|
sleep(((CONNECT_TIMEOUT - elapsed) / 1000) as _).await;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
// https://github.com/rustdesk/rustdesk/issues/12233
|
||||||
|
sleep(0.033).await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user