mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Added logs
This commit is contained in:
1 parent
e9c1a6d25d
commit
a6cb86639b
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user