transit: increase connection timeout from 15s to 60s
I haven't seen any timeouts yet, but I'm thinking ahead to .onion connections that might take longer than 15 seconds to establish.
This commit is contained in:
parent
862820679c
commit
ed674e5ffe
|
@ -138,7 +138,7 @@ def parse_hint_argv(hint, stderr=sys.stderr):
|
|||
return None
|
||||
return DirectTCPV1Hint(hint_host, hint_port, priority)
|
||||
|
||||
TIMEOUT=15
|
||||
TIMEOUT = 60 # seconds
|
||||
|
||||
@implementer(interfaces.IProducer, interfaces.IConsumer)
|
||||
class Connection(protocol.Protocol, policies.TimeoutMixin):
|
||||
|
|
Loading…
Reference in New Issue
Block a user