diff --git a/handlers.go b/handlers.go index 8b893fc..25c0e3e 100644 --- a/handlers.go +++ b/handlers.go @@ -120,7 +120,6 @@ func handleWebsocket(w http.ResponseWriter, r *http.Request) { for { select { case <-ticker.C: - conn.SetWriteDeadline(time.Now().Add(writeWait)) err := conn.WriteMessage(websocket.TextMessage, []byte("PING")) if err != nil { log.Warn().Err(err).Msg("error writing ping, closing websocket")