heroku-examples / go-websocket-chat-demo

102 stars 49 forks source link

Using your code causes the binary to consume 150% CPU #6

Closed itzikbenh closed 7 years ago

itzikbenh commented 7 years ago

Hey, is there something in your code that would cause it to take so much of my CPU? I have no clue where to look.

itzikbenh commented 7 years ago

Never mind, the WaitForAvailability function was running infinitely due to missing port error.