From 3cc4461049facb863de5ff2fe172c1c9777c6288 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 20 Feb 2015 01:39:22 -0800 Subject: [PATCH] reduce transit timeout to 15s --- src/wormhole/blocking/transit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wormhole/blocking/transit.py b/src/wormhole/blocking/transit.py index c69c8c5..515061a 100644 --- a/src/wormhole/blocking/transit.py +++ b/src/wormhole/blocking/transit.py @@ -45,7 +45,7 @@ def build_sender_handshake(key): hexid = HKDF(key, 32, CTXinfo=b"transit_sender") return "transit sender %s ready\n\n" % hexlify(hexid) -TIMEOUT=10000 +TIMEOUT=15 # 1: sender only transmits, receiver only accepts, both wait forever # 2: sender also accepts, receiver also transmits