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

Don't insert entries that are equally "new" to stored ones #30

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

xash
Copy link
Contributor

@xash xash commented Nov 12, 2024

Both entries would be valid according to the spec, so we take the one with less computation. Most likely happens when the entries are identical, which can happen during syncs.

Both entries would be valid according to the spec, so we take the one with less computation.
Most likely happens when the entries are identical, which can happen during syncs.
@sgwilym
Copy link
Contributor

sgwilym commented Nov 13, 2024

Great, thank you!

@sgwilym sgwilym merged commit 827329f into earthstar-project:main Nov 13, 2024
1 check passed
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