WanQueue中如何配置Redis作为文件存储的队列?
- 内容介绍
- 文章标签
- 相关推荐
本文共计529个文字,预计阅读时间需要3分钟。
PHP队列框架WanQueue:文件队列,快速切换至Redis、MySQL等任意队列。简单易用。
运行命令:php WanQueue/console/QueueServer.php启动队列服务
添加任务到队列:php$que=new WanQueue\Queue\Queue();$q=任务内容;$que->push($q);
PHP队列框架WanQueue/文件队列,可快速切换到reids/mysql等任何队列。开心/方便/简单。本文共计529个文字,预计阅读时间需要3分钟。
PHP队列框架WanQueue:文件队列,快速切换至Redis、MySQL等任意队列。简单易用。
运行命令:php WanQueue/console/QueueServer.php启动队列服务
添加任务到队列:php$que=new WanQueue\Queue\Queue();$q=任务内容;$que->push($q);
PHP队列框架WanQueue/文件队列,可快速切换到reids/mysql等任何队列。开心/方便/简单。
