定制 flowpack/jobqueue-redis 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

flowpack/jobqueue-redis

最新稳定版本:3.2.0

Composer 安装命令:

composer require flowpack/jobqueue-redis

包简介

Implements concrete Queue for the redis work queue. Requires the packages flowpack/jobqueue-common and the redis PHP extension to be installed.

README 文档

README

A job queue backend for the Flowpack.JobQueue.Common package based on redis.

Usage

Install the package using composer:

composer require flowpack/jobqueue-redis 

If not already installed, that will fetch its requirements, namely jobqueue-common.

NOTE: This package needs a redis server and the PHP redis extension to be installed

Now the queue can be configured like this:

Flowpack: JobQueue: Common: queues: 'some-queue': className: 'Flowpack\JobQueue\Redis\Queue\RedisQueue' executeIsolated: true options: client: host: 127.0.0.1 port: 6379 database: 15 password: 'some long secret' defaultTimeout: 20

Specific options

The RedisQueue supports following options:

Option Type Default Description
defaultTimeout integer 60 Number of seconds new messages are waited for before a timeout occurs (This is overridden by a "timeout" argument in the waitAndTake() and waitAndReserve() methods
client array ['host' => '127.0.0.1', 'port' => 6379, 'database' => 0, 'timeout' => <defaultTimeout * 1.5>, password => ''] Redis connection settings

Submit options

The RedisQueue currently doesn't support any custom submit options

Release options

The RedisQueue currently doesn't support any custom release options

License

This package is licensed under the MIT license

Contributions

Pull-Requests are more than welcome. Make sure to read the Code Of Conduct.

统计信息

  • 总下载量: 66.45k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 7
  • Watchers: 7
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固