diff --git a/appmgr/src/disk/quirks.rs b/appmgr/src/disk/quirks.rs index eed27c79f..d13e5141c 100644 --- a/appmgr/src/disk/quirks.rs +++ b/appmgr/src/disk/quirks.rs @@ -124,11 +124,11 @@ pub async fn reconnect_usb(usb_device_path: impl AsRef) -> Result<(), Erro authorized_file.write_all(b"0").await?; authorized_file.sync_all().await?; drop(authorized_file); - tokio::time::sleep(Duration::from_secs(1)).await; + tokio::time::sleep(Duration::from_secs(2)).await; let mut authorized_file = tokio::fs::File::create(&authorized_path).await?; authorized_file.write_all(b"1").await?; authorized_file.sync_all().await?; - tokio::time::sleep(Duration::from_secs(1)).await; + tokio::time::sleep(Duration::from_secs(2)).await; Ok(()) }