Skip to content

Commit

Permalink
increase interval for restart linux ui, try fix loop start (rustdesk#…
Browse files Browse the repository at this point in the history
…9264)

Signed-off-by: 21pages <[email protected]>
  • Loading branch information
21pages authored Sep 5, 2024
1 parent 5f29016 commit 3bd34bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ipc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@ async fn handle(data: Data, stream: &mut Connection) {
std::fs::remove_file(&Config::ipc_path("")).ok();
#[cfg(target_os = "linux")]
{
hbb_common::sleep((crate::platform::SERVICE_INTERVAL * 2) as f32 / 1000.0)
// https://github.com/rustdesk/rustdesk/discussions/9254, slow on some machines
hbb_common::sleep((crate::platform::SERVICE_INTERVAL * 2) as f32 / 1000.0 + 1.2)
.await;
crate::run_me::<&str>(vec![]).ok();
}
Expand Down

0 comments on commit 3bd34bf

Please sign in to comment.