From ce63efcb9e9e0bbbd7f67d35c0ae0d03a9149093 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Mon, 21 Feb 2022 13:10:40 +0700 Subject: [PATCH] Increase max tries and concurrent proxy tests --- src/tor_relay_scanner/scanner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tor_relay_scanner/scanner.py b/src/tor_relay_scanner/scanner.py index a27e9ef..f7da10e 100644 --- a/src/tor_relay_scanner/scanner.py +++ b/src/tor_relay_scanner/scanner.py @@ -106,9 +106,9 @@ class TorRelay: async def main_async(): - NUM_RELAYS = 15 + NUM_RELAYS = 30 WORKING_RELAY_NUM_GOAL = 5 - MAX_NUM_TRIES = 3 + MAX_NUM_TRIES = 5 print("Downloading Tor Relay information from onionoo.torproject.org…", file=sys.stderr) relays = TorRelayGrabber().grab_parse()