Skip to content

Conversation

@vkarpov15
Copy link
Collaborator

Summary

Applied some suggestions from #12890. Mostly getting rid of unnecessary connectionsToClose - left it in one case where it makes sense. Also refactored out some Model.watch() cases, and fixed a potential bug due to the MongoDB node driver continuing to poll after change stream is closed.

Examples

@vkarpov15 vkarpov15 requested a review from hasezoey January 17, 2023 16:00
Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

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

mostly looks good to me, though there are some places that have not been changed yet, or were changed back to not properly close in case of test failure

Copy link
Collaborator

@IslandRhythms IslandRhythms left a comment

Choose a reason for hiding this comment

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

LGTM

@vkarpov15 vkarpov15 merged commit 59e5338 into master Jan 23, 2023
@hasezoey hasezoey deleted the vkarpov15/test-cleanup-12890 branch January 24, 2023 00:13
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.

4 participants