From 9fa2794d45ba915b42b77d4762dfa607d5587dfc Mon Sep 17 00:00:00 2001 From: Sefano Stabellini Date: Thu, 1 Dec 2011 17:52:39 +0000 Subject: [PATCH] increase minimum timeout to 1h There is no reason why the minimum timeout should be 10s, it could easily be 1h and we would save lots of cpu cycles. Signed-off-by: Stefano Stabellini --- i386-dm/helper2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i386-dm/helper2.c b/i386-dm/helper2.c index 481c620f9..648449c93 100644 --- a/i386-dm/helper2.c +++ b/i386-dm/helper2.c @@ -576,8 +576,8 @@ int main_loop(void) /* Wait up to 10 msec. */ main_loop_wait(10); #else - /* Wait up to 10s. */ - main_loop_wait(10000); + /* Wait up to 1h. */ + main_loop_wait(1000*60*60); #endif fprintf(logfile, "device model saving state\n"); -- 2.39.5