SignalK / sailgauge

Sailgauge html page to show sailing-related data on one screen
MIT License
6 stars 2 forks source link

Add fallback to using plain ws if Primus is not available #5

Closed tkurki closed 9 years ago

tkurki commented 9 years ago

Closes #3.

tkurki commented 9 years ago

@rob42 Could you test if this version works with your server and close this pull request if it does?

At least it works without primus client library.

tkurki commented 9 years ago

I noticed another issue: with the experimental version of node server the socket closes for some reason after 35 seconds. I don't think it is client related, but anyway Primus handles instant reconnection, the plain websocket connection method doesn't.

fabdrol commented 9 years ago

@tkurki we didn't have that issue when usingsocket.io, might be primus related?