Skip to content

Commit

Permalink
Update RedisSentinelManager.java
Browse files Browse the repository at this point in the history
  • Loading branch information
pluone authored Aug 19, 2020
1 parent a9b1a4b commit 786a420
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class RedisSentinelManager extends WorkAloneRedisManager implements IRedi

private int database = Protocol.DEFAULT_DATABASE;

private JedisSentinelPool jedisPool;
private volatile JedisSentinelPool jedisPool;

@Override
protected Jedis getJedis() {
Expand Down

0 comments on commit 786a420

Please sign in to comment.