Some more changes to the client. I got a grasp on how this may work.
This commit is contained in:
@ -61,6 +61,6 @@ func writeMessages(conn *websocket.Conn) {
|
||||
}
|
||||
// This sets the time-out for any outgoing messages.
|
||||
// conn.SetWriteDeadline(time.Now().Add(10 * time.Second))
|
||||
time.Sleep(time.Second)
|
||||
time.Sleep(time.Minute)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user