python 关闭redis链接

python读写redis时,到底需不须要关闭redis链接池链接? import redis def RedisUtils(): pool = redis.ConnectionPool(host='172.8.10.145', port=6379, password="xxxxxx", decode_responses=True) r = redis.Redis(connect
相关文章
相关标签/搜索