Destroy pool when a thread ends.
This commit is contained in:
parent
5f362a878a
commit
7db3f3469f
@ -69,6 +69,7 @@ public class RedisConnectionHandler implements Runnable
|
||||
}
|
||||
}
|
||||
|
||||
_jedisPool.destroy();
|
||||
_logger.warning("Thread interrupted, end of connection.");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user