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

Reduce redundant requests #261

Open
dshoreman opened this issue Aug 19, 2020 · 0 comments
Open

Reduce redundant requests #261

dshoreman opened this issue Aug 19, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@dshoreman
Copy link
Owner

If there are a handful of AJAX requests pending and one of them comes back with a 401 Unauthenticated response, there's little sense in continuing. This is probably most likely to happen when refreshing the page after the session expires.

Need to figure out how axios deals with cancelling a request so that we can hook into certain fail cases and abort any requests that're still outstanding. If a request comes back unauthorised, we should probably just redirect to the login page which would at least prevent any further calls to get system stats.

@dshoreman dshoreman created this issue from a note in Frontend UI/UX (To do) Aug 19, 2020
@dshoreman dshoreman added the enhancement New feature or request label Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Frontend UI/UX
  
To do
Development

No branches or pull requests

1 participant