2019-08-30 22:42:08 +01:00
|
|
|
RedisQueuePlugin wraps the RedisQueueManager class which is a queue manager
|
|
|
|
that uses Redis as it's backing storage.
|
|
|
|
|
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
2019-12-11 02:20:54 +00:00
|
|
|
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.
|
2019-08-30 22:42:08 +01:00
|
|
|
|
|
|
|
addPlugin('RedisQueue', ['server' => 'your-redis-instance-and-port']);
|
|
|
|
|
|
|
|
Example
|
|
|
|
=======
|
|
|
|
|
|
|
|
In config.php
|
|
|
|
|
2019-12-11 02:20:54 +00:00
|
|
|
addPlugin('RedisQueue', ['server' => 'tcp://localhost:6379']);
|