From 406fdbbf640e8cc964625386b0d44e2c64bc7a57 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 5 Apr 2018 15:54:47 -0700 Subject: [PATCH] brontide: increase timeout to 5s --- brontide/noise.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brontide/noise.go b/brontide/noise.go index a1d85745..b4f91af3 100644 --- a/brontide/noise.go +++ b/brontide/noise.go @@ -39,7 +39,7 @@ const ( // waiting for data payloads during the various acts of Brontide. If // the remote party fails to deliver the proper payload within this // time frame, then we'll fail the connection. - handshakeReadTimeout = time.Second * 1 + handshakeReadTimeout = time.Second * 5 ) var (