Skip to content

Cancel dashboard ajax requests when query is changed#197

Merged
ukutaht merged 1 commit into
masterfrom
abort-ajax
Jul 2, 2020
Merged

Cancel dashboard ajax requests when query is changed#197
ukutaht merged 1 commit into
masterfrom
abort-ajax

Conversation

@ukutaht
Copy link
Copy Markdown
Contributor

@ukutaht ukutaht commented Jun 30, 2020

It is currently possible to get the dashboard in an inconsistent state when navigating quickly. The result of an intermediate AJAX call might overwrite the result of the latest one when cycling through months for example. More prone to happen with slow network.

This PR fixes the issue by cancelling all in-flight requests when the user changes the query.

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

Successfully merging this pull request may close these issues.

1 participant