Skip to content

Manager中没有主动关闭连接 #2

Description

@needrunning

采用短连接模式连接Redis数据库,Manager中没有主动关闭连接
源代码
`public function __destruct()
{
$this->flush();
$this->_redis->close();

}``

做了修改

`public function __destruct()
{
$this->flush();
$this->_redis->close();

}``

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions