From 7d68c12f1ba3d5887567078e08cabe978f773f7f Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Mon, 25 Mar 2024 11:35:28 +0545 Subject: [PATCH] Update init.php --- app/init.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/init.php b/app/init.php index 354140f286..cd97fba276 100644 --- a/app/init.php +++ b/app/init.php @@ -1161,6 +1161,7 @@ App::setResource('dbForConsole', function (Group $pools, Cache $cache) { ->setMetadata('host', \gethostname()) ->setMetadata('project', 'console') ->setTimeout(APP_DATABASE_TIMEOUT_MILLISECONDS); + return $database; }, ['pools', 'cache']);