2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-09-27 19:08:02 +00:00

Add omitted returnBrokenResource

This commit is contained in:
Tux 2014-05-22 17:49:00 -04:00
parent 07e2621ab2
commit 9cf7fdb3c4

View File

@ -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);