--poll-for-new-genesis-block now restarts the node correctly each time (#4263)

automerge
This commit is contained in:
Michael Vines
2019-05-13 09:33:29 -07:00
committed by Grimes
parent 0d77d5a076
commit bd13b50b1d

View File

@@ -143,7 +143,6 @@ setup_vote_account() {
set -e
rsync_leader_url=$(rsync_url "$leader")
secs_to_next_genesis_poll=0
PS4="$(basename "$0"): "
while true; do
set -x
@@ -175,6 +174,7 @@ while true; do
pid=$!
oom_score_adj "$pid" 1000
secs_to_next_genesis_poll=0
while true; do
if ! kill -0 "$pid"; then
wait "$pid"