mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-12-23 18:48:02 +00:00
Add omitted returnBrokenResource
This commit is contained in:
parent
07e2621ab2
commit
9cf7fdb3c4
@ -97,6 +97,7 @@ public final class RedisBungee extends Plugin {
|
||||
return servers.build();
|
||||
} catch (JedisConnectionException e) {
|
||||
getLogger().log(Level.SEVERE, "Unable to fetch all server IDs", e);
|
||||
pool.returnBrokenResource(jedis);
|
||||
return Collections.singletonList(serverId);
|
||||
} finally {
|
||||
pool.returnResource(jedis);
|
||||
|
Loading…
Reference in New Issue
Block a user