Skip to content

Commit

Permalink
fix field access
Browse files Browse the repository at this point in the history
  • Loading branch information
shanwb committed Apr 9, 2024
1 parent 2eeb2ff commit dfe24f9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ private Map<JedisPool, List<String>> getPoolKeyMap(List<String> keys) {
Map<JedisPool, List<String>> poolKeysMap = new LinkedHashMap<JedisPool, List<String>>();
try {
Field field = JedisClusterConnectionHandler.class.getDeclaredField("cache");
field.setAccessible(true);
for (String key : keys) {
JedisPool jedisPool;
int slot = JedisClusterCRC16.getSlot(key);
Expand Down

0 comments on commit dfe24f9

Please sign in to comment.