2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-23 04:28:01 +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(); return servers.build();
} catch (JedisConnectionException e) { } catch (JedisConnectionException e) {
getLogger().log(Level.SEVERE, "Unable to fetch all server IDs", e); getLogger().log(Level.SEVERE, "Unable to fetch all server IDs", e);
pool.returnBrokenResource(jedis);
return Collections.singletonList(serverId); return Collections.singletonList(serverId);
} finally { } finally {
pool.returnResource(jedis); pool.returnResource(jedis);