浏览代码

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

Daniele Alessandri 15 年之前
父节点
当前提交
31234d694e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {