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

feat: reduce & simplify sync state #411

Merged
merged 4 commits into from
Dec 12, 2023
Merged

feat: reduce & simplify sync state #411

merged 4 commits into from
Dec 12, 2023

Conversation

gmaclennan
Copy link
Member

@gmaclennan gmaclennan commented Dec 11, 2023

Previously the public sync state separated sync state by namespace and
by peer. This information is not currently used by the UI, so this PR
omits peer states and sums the namespace sync states into 'initial' and
'data'.

This also adds a syncing property to the initial and data sync states, that is true if that subset of the database is currently enabled for sync.

This also adds a connectedPeers property that is the number of connected peers.

Previously the public sync state separated sync state by namespace and
by peer. This information is not currently used by the UI, so this PR
omits peer states and sums the namespace sync states into 'initial' and
'full'.
@gmaclennan gmaclennan self-assigned this Dec 11, 2023
@gmaclennan gmaclennan requested a review from achou11 December 11, 2023 06:46
@gmaclennan gmaclennan merged commit de5c42f into main Dec 12, 2023
7 checks passed
@gmaclennan gmaclennan deleted the feat/reduce-sync-state branch December 12, 2023 02:20
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