From abee58425ac53abf01b51bbe87a440addac62930 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Fri, 4 Sep 2020 14:07:50 +1000 Subject: [PATCH] delay startup time: closes https://github.com/nsip/nias2/issues/95 --- bin/gonapval.bat | 2 +- bin/gonapval.sh | 2 +- bin/gonias.bat | 2 +- bin/gonias.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/gonapval.bat b/bin/gonapval.bat index 2a5ccf8..284b6bf 100644 --- a/bin/gonapval.bat +++ b/bin/gonapval.bat @@ -6,7 +6,7 @@ rem gnatsd MUST be the first program launched rem Run the NIAS services. Add to the BOTTOM of this list start nats-streaming-server -p 4223 -sc napval_nss.cfg -timeout /t 3 +timeout /t 5 start napval diff --git a/bin/gonapval.sh b/bin/gonapval.sh index 461f75e..5933d07 100755 --- a/bin/gonapval.sh +++ b/bin/gonapval.sh @@ -13,7 +13,7 @@ fi ./nats-streaming-server -p 4223 -sc napval_nss.cfg & echo $! > nias.pid # give the nats server time to come up -sleep 2 +sleep 5 ./napval & echo $! >> nias.pid diff --git a/bin/gonias.bat b/bin/gonias.bat index 21cf981..4216018 100644 --- a/bin/gonias.bat +++ b/bin/gonias.bat @@ -6,7 +6,7 @@ rem gnatsd MUST be the first program launched rem Run the NIAS services. Add to the BOTTOM of this list start nats-streaming-server -p 4223 -sc nias_nss.cfg -timeout /t 3 +timeout /t 5 start go-nias8 diff --git a/bin/gonias.sh b/bin/gonias.sh index 344533f..97f8134 100755 --- a/bin/gonias.sh +++ b/bin/gonias.sh @@ -13,7 +13,7 @@ fi ./nats-streaming-server -p 4223 -sc nias_nss.cfg & echo $! > nias.pid # give the nats server time to come up -sleep 2 +sleep 5 ./go-nias8 & echo $! >> nias.pid