mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Set health adapter auth
This commit is contained in:
@@ -119,6 +119,7 @@ App::get('/v1/health/db')
|
||||
foreach ($config as $database) {
|
||||
try {
|
||||
$adapter = new DatabasePool($pools->get($database));
|
||||
$adapter->setAuthorization($authorization);
|
||||
$checkStart = \microtime(true);
|
||||
|
||||
if ($adapter->ping()) {
|
||||
|
||||
Reference in New Issue
Block a user