1
0
Fork 0
mirror of synced 2024-10-03 02:37:40 +13:00

Update init.php

This commit is contained in:
Damodar Lohani 2024-03-25 11:35:28 +05:45 committed by GitHub
parent b3c2b54d09
commit 7d68c12f1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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']);