mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Added logs
This commit is contained in:
@@ -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