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 this field may not be blank #27

Merged
merged 1 commit into from
Dec 21, 2024
Merged

Conversation

martinohansen
Copy link
Contributor

@martinohansen martinohansen commented Dec 20, 2024

A race condition caused two refresh calls to be executed at the same time, refactor the handler to use timers instead of time.After to avoid this. Also update the tests which catches the error should we make it again.

@martinohansen
Copy link
Contributor Author

@frieser I found another bug in the token refresh handler

A race condition caused two refresh calls to be executed at the same
time, refactor the handler to use timers instead of time.After to avoid
this. Also update the tests which catches the error should we make it
again.
@frieser frieser merged commit 34afc3b into frieser:main Dec 21, 2024
1 check passed
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