1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

Added logs

This commit is contained in:
Eldad Fux 2020-10-19 21:56:02 +03:00
parent e9c1a6d25d
commit a6cb86639b

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