Try connecting to Redis first.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-05-09 11:15:48 -05:00
parent 1fa880afd1
commit ca6466d9c9
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}