From f5b7b40acd2f06024388829404da471e50ae201a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Font=C3=A1n=20Mui=C3=B1os?= Date: Tue, 14 Jul 2009 17:13:10 +0000 Subject: [PATCH] Mad loading waits 5 seconds git-svn-id: http://svn.opennebula.org/one/trunk@691 3034c82b-c49b-4eb3-8279-a7acafdc01c0 --- src/mad/Mad.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mad/Mad.cc b/src/mad/Mad.cc index 1d24161213..b65f3b6fbd 100644 --- a/src/mad/Mad.cc +++ b/src/mad/Mad.cc @@ -194,9 +194,9 @@ int Mad::start() FD_ZERO(&rfds); FD_SET(mad_nebula_pipe, &rfds); - // Wait up to one 0.5 seconds - tv.tv_sec = 0; - tv.tv_usec = 500000; + // Wait up to 5 seconds + tv.tv_sec = 5; + tv.tv_usec = 0; rc = select(mad_nebula_pipe+1,&rfds,0,0, &tv);