title: GO Chat Websocket Handling Registration
body: <p>Following this example:</p>
  <p><a href="https://github.com/gorilla/websocket/blob/master/examples/chat/hub.go" rel="nofollow noreferrer">https://github.com/gorilla/websocket/blob/master/examples/chat/hub.go</a></p>
  <p>I have a page with 500 clients connected. There is a retry script that runs on the frontend every 10 seconds if the user for whatever reason is not currently connected to the websocket.</p>
  <p>However, if I turn off the api and turn it back on, all of the previously disconnected clients start trying to reconnect. I thought this wouldn't be an issue, but the clients get registered to the hub so slowly and block new users from being registered until the channel catches up. I've tried increasing the buffer</p>
  <pre><code>register:   make(chan *Client, 256),
  </code></pre>
  <p>But clients still seem to come in pretty slowly. This seemed like a pretty basic example, so not sure if there is an issue with this specific example in scaling or if this is an issue with my server not accepting enough requests.</p>