Keep authentication database writes off the event loop #312
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stackchain/stackchain-dashboard#312
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "timmy/311-auth-db-off-event-loop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #311
Moves every SQLite-backed operation in sign-in and single-device sign-out onto worker threads, preserving status, cookie, and fail-closed semantics.
Tests:
pytest -q tests/test_dashboard_auth.py(28 passed);pytest -q(553 passed).