qqq
This commit is contained in:
@@ -139,7 +139,7 @@ SCRIPT;
|
|||||||
*/
|
*/
|
||||||
public function destroy(): void
|
public function destroy(): void
|
||||||
{
|
{
|
||||||
$this->pool()->clean($this->host);
|
$this->pool()->close($this->host);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -165,7 +165,7 @@ SCRIPT;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return \Redis
|
* @return \Redis
|
||||||
* @throws ReflectionException
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
private function getClient(): \Redis
|
private function getClient(): \Redis
|
||||||
{
|
{
|
||||||
@@ -175,7 +175,7 @@ SCRIPT;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Pool
|
* @return Pool
|
||||||
* @throws ReflectionException
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
protected function pool(): Pool
|
protected function pool(): Pool
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user