Skip to content

Conversation

galaxian85
Copy link
Collaborator

As title, the getDoc sometimes took too much time that cause server received sync-step-1 event before listeners init.
And this cause frontend can not retrieve the full YDoc so I move listener initializers up to solve this problem.

@Yukaii Yukaii requested a review from stanley2058 October 14, 2024 13:55
Copy link
Collaborator

@stanley2058 stanley2058 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤯

@stanley2058 stanley2058 merged commit 409d6fc into main Oct 15, 2024
1 check passed
@stanley2058 stanley2058 deleted the fix-sync-timing branch October 15, 2024 02:31
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