From 5f78d3e2759eec6c8d3aea1fc163a8362ce670f9 Mon Sep 17 00:00:00 2001 From: "mark.huang" Date: Mon, 8 Jun 2015 16:02:37 -0400 Subject: [PATCH] Made getLockingObject return dummy object --- .../src/main/java/org/atmosphere/plugin/redis/RedisUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/modules/src/main/java/org/atmosphere/plugin/redis/RedisUtil.java b/redis/modules/src/main/java/org/atmosphere/plugin/redis/RedisUtil.java index 32c99bf69..a0591b0e3 100644 --- a/redis/modules/src/main/java/org/atmosphere/plugin/redis/RedisUtil.java +++ b/redis/modules/src/main/java/org/atmosphere/plugin/redis/RedisUtil.java @@ -259,7 +259,7 @@ private void disconnectPublisher() { } private Object getLockingObject() { - return sharedPool ? jedisPool : jedisPublisher; + return sharedPool ? new Object() : jedisPublisher; } public static interface Callback {