Get rid of hopefully unnecessary sort.

This commit is contained in:
Itamar Turner-Trauring 2020-10-15 08:33:51 -04:00
parent b658a66e7f
commit e6a196c144

View File

@ -152,7 +152,6 @@ class CiphertextFileNode(object):
for server in servers:
sm.add(shnum, server)
servers_responding.add(server)
servers_responding = sorted(servers_responding, key=lambda o: id(o))
good_hosts = len(reduce(set.union, sm.values(), set()))
is_healthy = bool(len(sm) >= verifycap.total_shares)