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

Better sync #568

Merged
merged 3 commits into from
Oct 10, 2023
Merged

Better sync #568

merged 3 commits into from
Oct 10, 2023

Conversation

swansontec
Copy link
Contributor

@swansontec swansontec commented Oct 6, 2023

CHANGELOG

none

Dependencies

none

Description

none

Instead of performing a full login every 30 seconds, just send a simple string token. If the token still matches, then we are synced. If the token does not match, use the existing login endpoint to get back in sync.
When we send a `syncToken`, the login server knows we have this logic in place, and can send us a lightweight login reply that may not include the more sensitive fields.
@swansontec swansontec merged commit 0e239bd into master Oct 10, 2023
3 checks passed
@swansontec swansontec deleted the william/better-sync branch October 10, 2023 17:33
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