From 6200cb3b08f834ce88141d65ec18b3616b81cbd6 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Fri, 14 Apr 2017 10:32:15 -0700 Subject: [PATCH] Increase Tor connection timeout to 30 seconds --- onionshare/onion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onionshare/onion.py b/onionshare/onion.py index be10743f..3df5eada 100644 --- a/onionshare/onion.py +++ b/onionshare/onion.py @@ -197,8 +197,8 @@ class Onion(object): break time.sleep(0.2) - # Timeout after 10 seconds - if time.time() - start_ts > 10: + # Timeout after 30 seconds + if time.time() - start_ts > 30: print("") self.tor_proc.terminate() raise BundledTorTimeout(strings._('settings_error_bundled_tor_timeout'))