Explorar o código

Increase the number of relays in the client.py integration test

With only 10 relays, unevently weighted, most single-pass circuits end
up picking one relay more than once and being discarded
Ian Goldberg %!s(int64=4) %!d(string=hai) anos
pai
achega
aa3fe8b9c6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client.py

+ 1 - 1
client.py

@@ -584,7 +584,7 @@ if __name__ == '__main__':
         dirauthaddrs.append(dira.netaddr)
 
     # Start some relays
-    numrelays = 10
+    numrelays = 100
     relays = []
     for i in range(numrelays):
         # Relay bandwidths (at least the ones fast enough to get used)