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

fix(cursor): bubble up resumeTokenChanged event from change streams #13736

Merged
merged 1 commit into from Aug 15, 2023

Conversation

vkarpov15
Copy link
Collaborator

Fix #13607

Summary

It looks like MongoDB driver change streams emit a resumeTokenChanged event that Mongoose change streams aren't propagating. This PR fixes that, and also makes it so that change stream tests run in CI.

Examples

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.

ChangeStream stops working after some time
2 participants