diff --git a/websocket/client.go b/websocket/client.go index d1c3edc..9c804a1 100644 --- a/websocket/client.go +++ b/websocket/client.go @@ -12,10 +12,10 @@ import ( const ( // Time allowed to write a message to the peer. - writeWait = 10 * time.Second + writeWait = 40 * time.Second // Time allowed to read the next pong message from the peer. - pongWait = 10 * time.Second + pongWait = 40 * time.Second ) type Client struct {