From 0cd1ee8bb6b1bdc2d23805cae9bc8d3c524c63ca Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sat, 10 Aug 2019 19:42:47 -0500 Subject: [PATCH] hopefully improve tors connectivity with torrc changes --- onionr/netcontroller/netcontrol.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/onionr/netcontroller/netcontrol.py b/onionr/netcontroller/netcontrol.py index 98f1610d..3732e68c 100644 --- a/onionr/netcontroller/netcontrol.py +++ b/onionr/netcontroller/netcontrol.py @@ -75,6 +75,8 @@ class NetController: torrcData = '''SocksPort ''' + str(self.socksPort) + ''' OnionTrafficOnly DataDirectory ''' + self.dataDir + '''tordata/ CookieAuthentication 1 +KeepalivePeriod 40 +CircuitsAvailableTimeout 86400 ControlPort ''' + str(controlPort) + ''' HashedControlPassword ''' + str(password) + ''' '''