改名
This commit is contained in:
@@ -52,8 +52,9 @@ class Redis extends Component
|
||||
$config = $this->get_config();
|
||||
$name = $config['host'] . ':' . $config['prefix'] . ':' . $config['databases'];
|
||||
|
||||
$connections->initConnections('redis:' . $name, true);
|
||||
$connections->setLength(env('REDIS.POOL_LENGTH', 100));
|
||||
$length = env('REDIS.POOL_LENGTH', 100);
|
||||
|
||||
$connections->initConnections('redis:' . $name, true, $length);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user