| 1 | <?php |
||
| 9 | class SentinelQueue extends RedisQueue |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Get the connection for the queue. |
||
| 13 | * |
||
| 14 | * Since we're using sentinels and Predis does not support transactions over aggregate queries then |
||
| 15 | * make sure return only the 'master' client. |
||
| 16 | * |
||
| 17 | * @return \Illuminate\Redis\Connections\Connection |
||
| 18 | */ |
||
| 19 | protected function getConnection() |
||
| 33 | } |
||
| 34 |