From 5b37b2ab0dc5433e482cdb5524ba3b57a8bab670 Mon Sep 17 00:00:00 2001 From: diamondburned Date: Tue, 14 Jul 2020 18:47:52 -0700 Subject: [PATCH] Gateway: Allow for longer timeouts --- utils/wsutil/ws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/wsutil/ws.go b/utils/wsutil/ws.go index 5db7f78..7519786 100644 --- a/utils/wsutil/ws.go +++ b/utils/wsutil/ws.go @@ -15,7 +15,7 @@ import ( var ( // WSTimeout is the timeout for connecting and writing to the Websocket, // before Gateway cancels and fails. - WSTimeout = time.Minute + WSTimeout = 5 * time.Minute // WSBuffer is the size of the Event channel. This has to be at least 1 to // make space for the first Event: Ready or Resumed. WSBuffer = 10