Skip to content

Conversation

@martinohansen
Copy link
Collaborator

@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
Collaborator 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