From 2e1a8ff632146444cb02f54878748a0d6e0854b6 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 3 Dec 2021 15:03:16 -0500 Subject: [PATCH] configure-rabbitmq: Increase startup timeout. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Starting RabbitMQ at boot seems to have gotten slower, which broke ‘vagrant up --provision’. Signed-off-by: Anders Kaseorg --- scripts/setup/configure-rabbitmq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup/configure-rabbitmq b/scripts/setup/configure-rabbitmq index d537056f96..eecb10e509 100755 --- a/scripts/setup/configure-rabbitmq +++ b/scripts/setup/configure-rabbitmq @@ -22,7 +22,7 @@ try_ping() { # `rabbitmqctl ping` requires 3.7.6 or newer out="$("${rabbitmqctl[@]}" eval 'net_adm:ping(node()).')" && [ "$out" = 'pong' ] } -retries=9 +retries=29 while ! try_ping 2>/dev/null; do sleep 1 if ! ((retries -= 1)); then