Skip to content

Commit

Permalink
tentative fix for sorted set redis cache not working properly for more
Browse files Browse the repository at this point in the history
than one redis shard
  • Loading branch information
boriwo committed Oct 4, 2014
1 parent a2b4fad commit 0c8e578
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ public List<CQSMessage> receiveMessage(CQSQueue queue, Map<String, String> recei
try {

jedis = getResource();
Jedis j = jedis.getShard(queue.getRelativeUrl() + "-" + shard + "-" + CQSConstants.REDIS_STATE);
Jedis j = jedis.getShard(queue.getRelativeUrl() + "-" + shard + "-" + "Q");
boolean done = false;
String key = queue.getRelativeUrl() + "-" + shard + "-Q";
Set <String> memIds;
Expand Down

0 comments on commit 0c8e578

Please sign in to comment.