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

Throttle the logout redirect function #470

Merged
merged 4 commits into from
Oct 10, 2019
Merged

Conversation

mjoyce91
Copy link

@mjoyce91 mjoyce91 commented Oct 9, 2019

When the token expires, numerous network requests fail and cause the logoutRequest to get called multiple times. This PR adds a throttle so that it only gets called at most once every 2 seconds, which gives the browser enough time to actually redirect the user.

@mjoyce91 mjoyce91 merged commit 07860c4 into dev Oct 10, 2019
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.

2 participants