redis.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:Anubis 作者: KawashiroNitori 项目源码 文件源码
def _create_connect():
    global _connection
    if not _connection:
        _connection = await aioredis.create_redis(
            (options.options.redis_host, options.options.redis_port),
            db=options.options.redis_index
        )
    return _connection
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号