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

Fix: Refresh access_token if expired #24

Merged
merged 9 commits into from Nov 5, 2020

update comment

  • Loading branch information
fcjr committed Nov 5, 2020
commit 9d5af50a9b52ea7167de23b829341b56f47fbdc3
@@ -40,7 +40,7 @@ class TokenPool {
}

async generateTokens() {
// avoid exponential growth of the token pool
// avoid endless growth of the token pool
if (this.tokens.length >= MIN_TOKENS) {
return;
}
ProTip! Use n and p to navigate between commits in a pull request.