Added logs

This commit is contained in:
Eldad Fux
2020-10-19 21:56:02 +03:00
parent e9c1a6d25d
commit a6cb86639b
+4
View File
@@ -46,6 +46,10 @@ $server->on("workerStart", function ($server, $workerId) use (&$connections) {
if($redis->ping('')) {
$attempts = 0;
Console::success('Connection established');
}
else {
Console::error('Connection failed');
}
sleep(1); // 1 sec delay between connection attempts