update(install): retry a busy disk-image attach for about a minute

This commit is contained in:
Dylan M. Taylor committed 2026-10-25 19:52:32 -04:00
1 parent c5a345e472
commit dcc4b53bbc
1 file changed
+2 -1
+2 -1
View File
@@ -1307,8 +1307,9 @@ pub mod macos {
Duration::from_secs(300),
)
};
// diskimages-helper can stay busy for a while on a shared runner; a minute of retries is still quick.
let mut attached = attach();
for wait in [1, 2, 4, 8] {
for wait in [1, 2, 4, 8, 16, 32] {
if attached.is_ok() {
break;
}