1
0
Fork 0
mirror of synced 2024-08-30 01:12:44 +12:00

reclaim pool

This commit is contained in:
Damodar Lohani 2024-03-04 12:50:49 +00:00
parent 5f4970befd
commit 5e6f53d6aa

View file

@ -1161,7 +1161,7 @@ App::setResource('dbForConsole', function (Group $pools, Cache $cache) {
->setMetadata('host', \gethostname())
->setMetadata('project', 'console')
->setTimeout(APP_DATABASE_TIMEOUT_MILLISECONDS);
$pools->get('console')->reclaim();
return $database;
}, ['pools', 'cache']);