2017 © Pedro Peláez
 

library php-queue

php queue

image

php-queue/php-queue

php queue

  • Sunday, December 10, 2017
  • by zhangfengjin
  • Repository
  • 0 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

php-queue

php-queue 是一个基于php的包,目前仅支持redis存储(对于有其他存储需求的,可根据接口自行开发实现)., (*1)

环境要求

1、安装redis2.6.0以上br/ 2、安装composer, (*2)

安装

1、克隆本项目br/ 2、cd 到项目目录,composer install, (*3)

应用

开启队列:php art worker:start:1 --queue=send1,send2 --tries=3 --sleep=3br/ 关闭队列:php art worker:stopbr/ 重新执行失败队列:php art worker:retry --queue=send1,send2 --tries=3 --sleep, (*4)

目录结构

├── bin                        // art命令br/ ├── example                     // 示例br/ │   ├── Queue.php               // 队列任务添加示例br/ ├── srcbr/ | ├── Bootstrapbr/ ......, (*5)

The Versions

10/12 2017

dev-master

9999999-dev

php queue

  Sources   Download

The Requires

 

by Avatar zhangfengjin

queue php-queue