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

Token invalidation #429

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Token invalidation #429

wants to merge 5 commits into from

Conversation

teo-milea
Copy link
Member

Description

Please include a summary of the change, the motivation, and any additional context that will help others understand your PR. If it closes one or more open issues, please tag them as described here.

Affected Dependencies

List any dependencies that are required for this change.

How has this been tested?

  • Describe the tests that you ran to verify your changes.
  • Provide instructions so we can reproduce.
  • List any relevant details for your test configuration.

Checklist

f.writelines([line])

def delete_line_from_file(line: str, file_path: Path):
Copy link
Contributor

@eelcovdw eelcovdw Nov 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably need to either move this to the db or lock the file somehow (like https://py-filelock.readthedocs.io/en/latest/ ). The server is using multiple processes so we can have concurrent writes to the token file

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