From dec9b9ec687ef84f6e7bd58d60363d8b7052b665 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Tue, 16 May 2017 11:47:18 -0700 Subject: [PATCH] Make the Onion object poll the tor controller less frequently, now that the connection happens in a separate thread --- onionshare/onion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare/onion.py b/onionshare/onion.py index eb97c6a8..05909a40 100644 --- a/onionshare/onion.py +++ b/onionshare/onion.py @@ -229,7 +229,7 @@ class Onion(object): if summary == 'Done': print("") break - time.sleep(0.05) + time.sleep(0.2) # Timeout after 45 seconds if time.time() - start_ts > 45: