From 00dd267d72b6c00fffe4cf5b3b11ee33c4d4f94a Mon Sep 17 00:00:00 2001 From: Govindas Date: Fri, 23 Oct 2020 17:48:22 +0300 Subject: [PATCH] Fix critical redis server shutdown bug --- src/main/java/net/limework/core/managers/RedisManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/limework/core/managers/RedisManager.java b/src/main/java/net/limework/core/managers/RedisManager.java index 5952e60..39a95d8 100644 --- a/src/main/java/net/limework/core/managers/RedisManager.java +++ b/src/main/java/net/limework/core/managers/RedisManager.java @@ -143,7 +143,7 @@ public class RedisManager extends BinaryJedisPubSub implements Runnable { if (this.subscribeJedis != null) { this.unsubscribe(); this.subscribeJedis.close(); - this.subscribeJedis.shutdown(); + this.jedisPool.getResource().close(); } this.RedisService.shutdown();