返回

thinkphp6-使用psubscribe进行redis的注意callback中使用redis

如果在过期回调中使用同一个cache配置就会连接不上(使用不了任何facade\Cache)

这时候只需要在cache.php增加一个redis配置

评论