From a6cb86639b2ba71ae4a765b9dabacd03c6af58b5 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Mon, 19 Oct 2020 21:56:02 +0300 Subject: [PATCH] Added logs --- app/realtime.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/realtime.php b/app/realtime.php index 90416aa17e..40ee8f572d 100644 --- a/app/realtime.php +++ b/app/realtime.php @@ -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