~adj/bus-tracker#9: 
Load bus positions right away when opening a Web Socket

Right now we wait up to 10 seconds to load bus positions when opening a web socket. We should have the onMessage event handler return the current positions, to increase responsiveness. We're already storing that data so that the AJAX calls from non-web-sockets clients will work.

Status
REPORTED
Submitter
bitbucket:QuintillusCFC
Assigned to
No-one
Submitted
6 years ago
Updated
4 years ago
Labels
No labels applied.

~adj 6 years ago

Resolved, albeit slightly less efficiently - load them by AJAX right away, then use web sockets.

Register here or Log in to comment, or comment via email.