prevent infinite loop if we don't know of any unconnected hosts
This commit is contained in:
@@ -57,7 +57,7 @@ class ConnectionEstablisher {
|
||||
return
|
||||
|
||||
def toTry
|
||||
while(true) {
|
||||
for (int i = 0; i < 5; i++) {
|
||||
toTry = hostCache.getHosts(1)
|
||||
if (toTry.isEmpty())
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user