Skip to content

Conversation

@martinohansen
Copy link
Collaborator

The refresh goroutine was stopped immediately after starting, fix that logic error to refresh the token in the background after half the access token lifetime.

Fixes martinohansen/ynabber#97

The refresh goroutine was stopped immediately after starting, fix that
logic error to refresh the token in the background after half the access
token lifetime.

Fixes martinohansen/ynabber#97
@martinohansen
Copy link
Collaborator Author

@frieser I'm tagging you since I can't add reviewers it seems. Let me know your thoughts on this.

@frieser
Copy link
Owner

frieser commented Dec 13, 2024

Hi @martinohansen , I cant test it right now, but it seems good to me reviewing the code.

@frieser frieser merged commit 3683fd6 into frieser:main Dec 13, 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.

Panic invalid token every 24 hours

2 participants