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