Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polling the whole dataset is inneficient #1

Open
mbanders opened this issue Jul 11, 2019 · 0 comments
Open

Polling the whole dataset is inneficient #1

mbanders opened this issue Jul 11, 2019 · 0 comments

Comments

@mbanders
Copy link
Owner

The dashboard polls for data, asking for all the data every few seconds. Really it should just ask for all the data once, and then simply wait for new data on a websocket.

Specifically: The dashboard (src/views/Dashboard.vue), every few seconds, calls the function loadStations in the file src/store/store.js. Instead of doing this, it would be nice to only update when there's new data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant