Increase node start stagger (#6566) (#6567)

automerge
This commit is contained in:
mergify[bot]
2019-10-25 17:20:13 -07:00
committed by Grimes
parent ea2b26e5f5
commit be79d97dde
2 changed files with 4 additions and 2 deletions

View File

@@ -722,8 +722,10 @@ deploy() {
# Stagger additional node start time. If too many nodes start simultaneously
# the bootstrap node gets more rsync requests from the additional nodes than
# it can handle.
if ((nodeIndex % 2 == 0)); then
if ((nodeIndex % 3 == 0)); then
sleep 2
elif ((nodeIndex % 3 == 1)); then
sleep 4
fi
fi
done