let GUI render

This commit is contained in:
Michael Neale
2025-11-12 12:43:37 +11:00
parent 897fa13028
commit 76bf7cf078
+2 -1
View File
@@ -61,7 +61,8 @@ pub async fn run() -> Result<()> {
let tunnel_manager = app_state.tunnel_manager.clone();
tokio::spawn(async move {
tokio::time::sleep(tokio::time::Duration::from_millis(100)).await;
// Give time for GUI to render before doing autostart
tokio::time::sleep(tokio::time::Duration::from_secs(3)).await;
tunnel_manager.check_auto_start().await;
});