From ce47af29f4d3008d161fb310fc3de9dfc8989c70 Mon Sep 17 00:00:00 2001 From: Govindass Date: Sat, 24 Oct 2020 12:32:24 +0300 Subject: [PATCH] Revert "Update RedisManager.java" This reverts commit b93624bc49d23ff9694eb047e096a976d8a06d19. --- src/main/java/net/limework/core/managers/RedisManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/limework/core/managers/RedisManager.java b/src/main/java/net/limework/core/managers/RedisManager.java index 9121b37..3eebfa1 100644 --- a/src/main/java/net/limework/core/managers/RedisManager.java +++ b/src/main/java/net/limework/core/managers/RedisManager.java @@ -167,6 +167,7 @@ public class RedisManager extends BinaryJedisPubSub implements Runnable { config.getInt("Redis.TimeOut"), config.getString("Redis.Password"), config.getBoolean("Redis.useSSL")); + RedisService.shutdown(); RedisService = Executors.newFixedThreadPool(config.getInt("Redis.Threads")); try { this.subscribeJedis = this.jedisPool.getResource();