gnu-social/plugins/RedisQueue
Diogo Cordeiro a9c365a5eb [VersionBump] 2.0.0alpha0
Ran composer update and locale updater
2020-08-04 05:31:44 +01:00
..
classes [PLUGINS] Added DBQueue plugin 2019-09-05 01:38:59 +02:00
locale [VersionBump] 2.0.0alpha0 2020-08-04 05:31:44 +01:00
README.md [CORE] Better queues defaults 2019-12-11 02:23:37 +00:00
RedisQueuePlugin.php [CORE] Better queues defaults 2019-12-11 02:23:37 +00: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']);