很是好的redis主从高可用方案

<?php namespace think\cache\driver; use think\Cache; use think\Exception; use think\Log; /** 配置参数: 'cache' => [ 'type' => 'Redisd' 'host' => 'A:6379,B:6379', //redis服务器ip,多台用逗号隔开;读写分离开启时,默认写A,当A主挂时,
相关文章
相关标签/搜索