Skip to content

Commit

Permalink
Fix bug in cluster psubscribe call
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosnils committed Apr 18, 2016
1 parent b79d068 commit 8969566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/redis/clients/jedis/BinaryJedisCluster.java
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ public void psubscribe(final BinaryJedisPubSub jedisPubSub, final byte[]... patt
new JedisClusterCommand<Integer>(connectionHandler, maxRedirections) {
@Override
public Integer execute(Jedis connection) {
connection.subscribe(jedisPubSub, patterns);
connection.psubscribe(jedisPubSub, patterns);
return 0;
}
}.runWithAnyNode();
Expand Down

0 comments on commit 8969566

Please sign in to comment.