mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-27 17:23:00 +00:00
Gateway: Allow for longer timeouts
This commit is contained in:
parent
c1885067d7
commit
5b37b2ab0d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue