ruuvi / ruuvitracker_server

RuuviTracker Server
https://ruuvi.com
BSD 2-Clause "Simplified" License
22 stars 7 forks source link

Add event buffer for every tracker for server push #74

Open jsyrjala opened 11 years ago

jsyrjala commented 11 years ago

Make a small buffer for active trackers that contains recent events. When a client joins via WebSocket subscribe or long polling request, server sends contents of buffer.

This way, if client disconnects for a short time, the client will not miss any events.