mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-3.0' into cassandra-3.X
This commit is contained in:
commit
26ee16b5f7
|
|
@ -59,11 +59,7 @@ public class DefaultConnectionFactory implements StreamConnectionFactory
|
|||
{
|
||||
if (socket != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
socket.close();
|
||||
}
|
||||
catch (IOException ignore) {}
|
||||
socket.close();
|
||||
}
|
||||
if (++attempts >= MAX_CONNECT_ATTEMPTS)
|
||||
throw e;
|
||||
|
|
|
|||
Loading…
Reference in New Issue