Only fail when 10 consecutive socket errors occur (#1928)
This commit is contained in:
@@ -112,7 +112,12 @@ def extract_rings(hosts, index):
|
||||
break
|
||||
if not ring:
|
||||
break
|
||||
rings.append(normalize(concretize(ring, used_ports)))
|
||||
try:
|
||||
rings.append(normalize(concretize(ring, used_ports)))
|
||||
except RuntimeError:
|
||||
if len(rings) > 0:
|
||||
return rings
|
||||
raise
|
||||
|
||||
return rings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user