Skip to content

Commit

Permalink
Merge pull request #96 from nsip/wait_on_nats
Browse files Browse the repository at this point in the history
delay startup time: closes #95
  • Loading branch information
matt-farmer authored Sep 7, 2020
2 parents 12005e1 + abee584 commit 07a4417
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/gonapval.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion bin/gonapval.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion bin/gonias.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion bin/gonias.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 07a4417

Please sign in to comment.