reclaim pool
This commit is contained in:
parent
5f4970befd
commit
5e6f53d6aa
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Reference in a new issue