gnu-social/plugins/RedisQueue
Diogo Peralta Cordeiro 6e031d623a [VersionBump] 2.0.0beta0
Updated composer and translations

composer install --no-dev
composer dump-autoload --optimize
git add vendor/ --force
make updatepo
2021-07-18 12:49:17 +01:00
..
classes [PLUGINS] Added DBQueue plugin 2021-07-16 19:44:34 +01:00
locale [VersionBump] 2.0.0beta0 2021-07-18 12:49:17 +01:00
README.md [CORE] Better queues defaults 2021-07-16 19:44:36 +01:00
RedisQueuePlugin.php [CORE] Better queues defaults 2021-07-16 19:44:36 +01:00

RedisQueuePlugin wraps the RedisQueueManager class which is a queue manager that uses Redis as it's backing storage.

Installation

This plugin replaces other queue manager plugins, such as UnQueue and DBQueue. You don't have to disable them but it is recommended to only use a QueueManager at a time.

addPlugin('RedisQueue', ['server' => 'your-redis-instance-and-port']);

Example

In config.php

addPlugin('RedisQueue', ['server' => 'tcp://localhost:6379']);