mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Mad loading waits 5 seconds
git-svn-id: http://svn.opennebula.org/one/trunk@691 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
parent
5d632b825a
commit
f5b7b40acd
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user