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

Race condition for page access tokens #6

Open
changhc opened this issue Dec 25, 2018 · 0 comments
Open

Race condition for page access tokens #6

changhc opened this issue Dec 25, 2018 · 0 comments

Comments

@changhc
Copy link
Contributor

changhc commented Dec 25, 2018

Now the page access token is renewed every 14 days. During renewal, we need some lock to block access to the token, or requests may fail due to the use of old tokens.

Currently we just handle this kind of error by asking the user to retry or letting the request fail silently (and users will retry themselves). Should think about how to implement something like a mutex.

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