Try connecting to Redis first.
This commit is contained in:
parent
1fa880afd1
commit
ca6466d9c9
|
@ -71,7 +71,7 @@ class UptimeWait
|
||||||
|
|
||||||
$elapsed = 0;
|
$elapsed = 0;
|
||||||
while ($elapsed <= $this->timeout) {
|
while ($elapsed <= $this->timeout) {
|
||||||
if ($this->checkDatabase() && $this->checkRedis()) {
|
if ($this->checkRedis() && $this->checkDatabase()) {
|
||||||
$this->println('Services started up and ready!');
|
$this->println('Services started up and ready!');
|
||||||
die(0);
|
die(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue