From 101dc6b0d91a219f5bf921d443fd37ad031c08b5 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 22 Mar 2020 09:45:33 -0400 Subject: [PATCH] increase TLS handshake timeout --- irc/socket.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irc/socket.go b/irc/socket.go index e7c8887d..592a7190 100644 --- a/irc/socket.go +++ b/irc/socket.go @@ -20,8 +20,8 @@ import ( ) var ( - handshakeTimeout, _ = time.ParseDuration("5s") - errSendQExceeded = errors.New("SendQ exceeded") + handshakeTimeout = RegisterTimeout + errSendQExceeded = errors.New("SendQ exceeded") sendQExceededMessage = []byte("\r\nERROR :SendQ Exceeded\r\n") )