Revert "Update RedisManager.java"

This reverts commit b93624bc49.
This commit is contained in:
Govindas 2020-10-24 12:32:24 +03:00
parent eb00a0c0b4
commit d443203c64
1 changed files with 1 additions and 0 deletions

View File

@ -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();