From ca6466d9c98d0e0417c42c856c916cee2225aa08 Mon Sep 17 00:00:00 2001 From: "Buster \"Silver Eagle\" Neece" Date: Sun, 9 May 2021 11:15:48 -0500 Subject: [PATCH] Try connecting to Redis first. --- bin/uptime_wait | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/uptime_wait b/bin/uptime_wait index 2a3e39112..2ac0b61d6 100644 --- a/bin/uptime_wait +++ b/bin/uptime_wait @@ -71,7 +71,7 @@ class UptimeWait $elapsed = 0; while ($elapsed <= $this->timeout) { - if ($this->checkDatabase() && $this->checkRedis()) { + if ($this->checkRedis() && $this->checkDatabase()) { $this->println('Services started up and ready!'); die(0); }