Skip to content

Commit 4f6721e

Browse files
committed
Fixes #14: Added missing BLPOP to $redisCommands
1 parent 6137d55 commit 4f6721e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Yii Framework 2 redis extension Change Log
44
2.0.5 under development
55
-----------------------
66

7+
- Chg #14: Added missing `BLPOP` to `$redisCommands` (samdark)
78

89

910
2.0.4 May 10, 2015

Connection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class Connection extends Component
8080
* @var array List of available redis commands http://redis.io/commands
8181
*/
8282
public $redisCommands = [
83+
'BLPOP', // key [key ...] timeout Remove and get the first element in a list, or block until one is available
8384
'BRPOP', // key [key ...] timeout Remove and get the last element in a list, or block until one is available
8485
'BRPOPLPUSH', // source destination timeout Pop a value from a list, push it to another list and return it; or block until one is available
8586
'CLIENT KILL', // ip:port Kill the connection of a client

0 commit comments

Comments
 (0)