mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-01-28 19:29:20 +00:00
main: increase child wait timeout to 1 second
BUG=chromium:899302 TEST=vm.CrostiniStartTime Change-Id: Ie434bc8ec2df7a7e8d1102feab5b84ebcdbb113d Reviewed-on: https://chromium-review.googlesource.com/1306821 Commit-Ready: Stephen Barber <smbarber@chromium.org> Tested-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
This commit is contained in:
parent
ac242df107
commit
49dd2e219d
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ impl Default for Config {
|
|||
// Wait for all children to exit. Return true if they have all exited, false
|
||||
// otherwise.
|
||||
fn wait_all_children() -> bool {
|
||||
const CHILD_WAIT_MAX_ITER: isize = 10;
|
||||
const CHILD_WAIT_MAX_ITER: isize = 100;
|
||||
const CHILD_WAIT_MS: u64 = 10;
|
||||
for _ in 0..CHILD_WAIT_MAX_ITER {
|
||||
loop {
|
||||
|
|
Loading…
Reference in a new issue