From e6a196c144b6f42c1f073b39a03a566976244f4b Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Thu, 15 Oct 2020 08:33:51 -0400 Subject: [PATCH] Get rid of hopefully unnecessary sort. --- src/allmydata/immutable/filenode.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/allmydata/immutable/filenode.py b/src/allmydata/immutable/filenode.py index 9c7999a3e..9e13e1337 100644 --- a/src/allmydata/immutable/filenode.py +++ b/src/allmydata/immutable/filenode.py @@ -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)