Skip to content

Commit

Permalink
wip2
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlong committed Dec 15, 2023
1 parent ca82d4c commit 6eea57c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,6 @@ func newWebsocketClient() *websocketClient {
func (wc *websocketClient) Start(conn *websocket.Conn) {
defer conn.Close()
defer close(wc.Done)
pongWait := 60 * time.Second
conn.SetReadDeadline(time.Now().Add(pongWait))
conn.SetPongHandler(func(string) error { conn.SetReadDeadline(time.Now().Add(pongWait)); return nil })
for {
messageType, message, err := conn.ReadMessage()
wc.mu.Lock()
Expand Down

0 comments on commit 6eea57c

Please sign in to comment.