Browse Source

Bugfix: ListPopFirstBlocking is actually BLPOP, not BRPOP. This is what happens when you write code while thinking about something else...

Daniele Alessandri 15 years ago
parent
commit
31234d694e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -1151,7 +1151,7 @@ class ListPopLast extends \Predis\InlineCommand {
 }
 
 class ListPopFirstBlocking extends \Predis\InlineCommand {
-    public function getCommandId() { return 'BRPOP'; }
+    public function getCommandId() { return 'BLPOP'; }
 }
 
 class ListPopLastBlocking extends \Predis\InlineCommand {