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

Faster auth access using sqlite3 instead of full json load/change every minor operation #1569

Merged
merged 9 commits into from
Apr 18, 2024

Conversation

pseudotensor
Copy link
Collaborator

@pseudotensor pseudotensor commented Apr 18, 2024

If use --auth_filename=auth.db, we will use sqlite3 database for auth for faster access for large number of users

If you had .json and want to use faster .db, just pass filename with .db instead of .json and at startup it will be migrated automatically to .db and used.

For fresh cases, we use .db.

@pseudotensor pseudotensor changed the title Faster Faster auth access using sqlite3 instead of full json load/change every minor operation Apr 18, 2024
@pseudotensor pseudotensor marked this pull request as ready for review April 18, 2024 07:58
@pseudotensor pseudotensor merged commit c34451a into main Apr 18, 2024
2 checks passed
@pseudotensor pseudotensor deleted the faster branch April 18, 2024 08:00
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.

1 participant