Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle exceptions on close in JedisSentinelPool (#2102)
When returning a Jedis object to the pool, handle any exceptions and still return the connection to prevent deadlock. This is similar to issue and fix for #791, but for the JedisSentinelPool.
- Loading branch information
Showing
2 changed files
with
66 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters