diff --git a/internal/transport/transport.go b/internal/transport/transport.go index 72f9c06..04e53b1 100644 --- a/internal/transport/transport.go +++ b/internal/transport/transport.go @@ -13,7 +13,7 @@ const ( defaultWriteTimeout = 10 * time.Second // Time allowed to read the next pong message from the peer. - pongWait = 60 * time.Second + pongWait = 20 * time.Second // Send pings to peer with this period. Must be less than pongWait. pingPeriod = (pongWait * 9) / 10