gnu-social/plugins/RedisQueue
Diogo Cordeiro 10f0a15614 [VersionBump] 2.0.0alpha0
Ran composer update and locale updater
2021-07-16 19:44:38 +01:00
..
classes [PLUGINS] Added DBQueue plugin 2021-07-16 19:44:34 +01:00
locale [VersionBump] 2.0.0alpha0 2021-07-16 19:44:38 +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']);