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.

Installs: 51 901

Dependents: 0

Suggesters: 1

Security: 0

Stars: 7

Watchers: 10

Forks: 9

Open Issues: 0

Type:neos-package

3.2.0 2023-03-01 11:34 UTC

This package is auto-updated.

Last update: 2024-12-13 10:21:15 UTC


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:

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.