mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 03:37:44 +08:00
Fixed invalid configuration handler for model-cache.
This commit is contained in:
parent
3d1216b38a
commit
67af4c404d
@ -47,7 +47,7 @@ class Manager
|
||||
}
|
||||
|
||||
foreach ($config->get('databases') as $key => $item) {
|
||||
$handlerClass = $item['handler'] ?? RedisHandler::class;
|
||||
$handlerClass = $item['cache']['handler'] ?? RedisHandler::class;
|
||||
$config = new Config($item['cache'] ?? [], $key);
|
||||
|
||||
/** @var HandlerInterface $handler */
|
||||
|
Loading…
Reference in New Issue
Block a user