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

Out of order message bug #23

Open
simonw opened this issue May 4, 2022 · 0 comments
Open

Out of order message bug #23

simonw opened this issue May 4, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@simonw
Copy link
Owner

simonw commented May 4, 2022

If you click several links in quick succession on an expensive page, e.g. https://simonw.github.io/datasette-lite/?url=https%3A%2F%2Fglobal-power-plants.datasettes.com%2Fglobal-power-plants.db#/global-power-plants/global-power-plants?_facet=primary_fuel&primary_fuel=Wind&_facet=geolocation_source&_facet=generation_data_source - it's possible that a message will return out of order and the page will render in a surprising sequence.

Solution is likely to attach a unique ID to each message and ignore the response if a new message has been sent.

@simonw simonw added the bug Something isn't working label May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant