随笔分类 -  Redis

摘要:import redis # 拿到一个redis的连接池 # decode_responses:自动解码,socket_timeout:得不到redis的数据超市就报错,防止卡住,很重要!!! Redis_Pool = redis.ConnectionPool(host=redis_host, po 阅读全文
posted @ 2022-05-26 15:42 pythoner_wl 阅读(343) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示