From 1b0f5bda4c2587d8358974ed4325b7ae15d509a6 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 28 Apr 2017 14:19:16 -0400 Subject: [PATCH] usleep for 20000 usecs. Testing on i7 says 17000 is average value it takes to startup --- scripts/zmdc.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmdc.pl.in b/scripts/zmdc.pl.in index c4659c896..0c286e1a8 100644 --- a/scripts/zmdc.pl.in +++ b/scripts/zmdc.pl.in @@ -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();