usleep for 20000 usecs. Testing on i7 says 17000 is average value it takes to startup
This commit is contained in:
parent
1253fb1723
commit
1b0f5bda4c
|
@ -175,7 +175,7 @@ if ( ! $server_up ) {
|
|||
$attempts++;
|
||||
Error("Waiting for zmdc.pl server process, attempt $attempts" );
|
||||
Fatal( "Can't connect: $!" ) if ($attempts > MAX_CONNECT_DELAY);
|
||||
usleep(100);
|
||||
usleep(20000);
|
||||
} # end while
|
||||
} elsif ( defined($cpid) ) {
|
||||
ZMServer::run();
|
||||
|
|
Loading…
Reference in New Issue