This commit is contained in:
2021-02-23 16:56:34 +08:00
parent 3cef44886d
commit 7ae8d4ffc2
10 changed files with 500 additions and 492 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ SCRIPT;
{
$connections = Snowflake::app()->getPool()->getRedis();
$client = $connections->getConnection($this->get_config(), true);
$client = $connections->get($this->get_config(), true);
if (!($client instanceof \Redis)) {
throw new Exception('Redis connections more.');
}