Diogo Cordeiro a9c365a5eb [VersionBump] 2.0.0alpha0 | 4 年之前 | |
---|---|---|
.. | ||
classes | 5 年之前 | |
locale | 4 年之前 | |
README.md | 5 年之前 | |
RedisQueuePlugin.php | 5 年之前 |
RedisQueuePlugin wraps the RedisQueueManager class which is a queue manager that uses Redis as it's backing storage.
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']);
In config.php
addPlugin('RedisQueue', ['server' => 'tcp://localhost:6379']);