Increase node start stagger (#6566)

This commit is contained in:
Dan Albert
2019-10-25 17:35:29 -06:00
committed by GitHub
parent ea2b26e5f5
commit a2a9d54985
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