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

Send changes only when Unison is waiting for them #25

Merged
merged 1 commit into from
May 27, 2024

Conversation

thomas-ross-aws
Copy link
Contributor

This patch adds a waited_on flag to the replica, and will only send changes for that replica to Unison if that flag is true. It's set to true when a WAIT command is received, and false on any other command (e.g. CHANGES). This fixes a previous bug where the fsmonitor would send changes to Unison when it was not expecting them, and Unison would ignore those changes.

Closes: #17

@autozimu autozimu merged commit 6fa200f into autozimu:master May 27, 2024
@autozimu
Copy link
Owner

Thanks a lot!

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.

Race condition can leave files out of sync while syncing between local dirs
2 participants