Laravel 5.2 predis 发布订阅时报错
按着文档来的:
public function index(){
Redis::publish("test-channel",json_encode(‘wangj’);
}
结果报错了:
NotSupportedException in RedisCluster.php line 380:
Cannot use 'PUBLISH' with redis-cluster!
请问有没有解决的办法
推荐文章: