mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 06:17:50 +00:00
Get rid of hopefully unnecessary sort.
This commit is contained in:
parent
b658a66e7f
commit
e6a196c144
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user