PHP设置连接redis的超时时间 redis php 2018-10-01 19:26 阅读 1084 连接redis,如何设置超时时间 $this->redis = new Redis(); $this->redis->connect($host, $port); $this->redis->auth($auth); 关注 | 0 0 评论 智慧编程 0 名望 加载中... 提交评论 默认排序 时间排序 1个回答 答案对人有帮助,有参考价值 0 答案没帮助,是错误的答案,答非所问 采纳 $this->redis->connect($host, $port,3); 3秒连接超时 2018-11-01 21:35 回答 0 评论 智慧编程 0 名望 加载中... 提交评论 撰写答案 验证码 [舍弃] 提交回答
连接redis,如何设置超时时间 $this->redis = new Redis(); $this->redis->connect($host, $port); $this->redis->auth($auth); 关注 | 0 0 评论 智慧编程 0 名望 加载中... 提交评论
答案对人有帮助,有参考价值 0 答案没帮助,是错误的答案,答非所问 采纳 $this->redis->connect($host, $port,3); 3秒连接超时 2018-11-01 21:35 回答 0 评论 智慧编程 0 名望 加载中... 提交评论