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

extension-redis: fixes a bug that caused document updates to cause an… #696

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

janthurau
Copy link
Collaborator

@janthurau janthurau commented Sep 4, 2023

When applying an update incoming via redis, we unexpectedly triggered onChange, which then triggered another full sync. This caused eight messages to be exchanged via redis per change. With this fix merged, it will be just four.

@janthurau janthurau force-pushed the bug/redis-extension-duplicated-messages branch from 06b3878 to 8439c88 Compare September 4, 2023 19:24
@janthurau janthurau merged commit 7be75b5 into main Sep 6, 2023
3 checks passed
@janthurau janthurau deleted the bug/redis-extension-duplicated-messages branch September 6, 2023 17:02
janthurau added a commit that referenced this pull request Oct 19, 2023
…redis, we shouldnt run onStoreDocument hooks; refs #730, refs #696, refs #606
janthurau added a commit that referenced this pull request Oct 19, 2023
…redis, we shouldnt run onStoreDocument hooks; refs #730, refs #696, refs #606 (#733)
TalhaASiddiqi pushed a commit to educative/hocuspocus that referenced this pull request Feb 1, 2024
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.

None yet

1 participant