Gateway: Allow for longer timeouts

This commit is contained in:
diamondburned 2020-07-14 18:47:52 -07:00
parent c1885067d7
commit 5b37b2ab0d
1 changed files with 1 additions and 1 deletions

View File

@ -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