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

Leaked cursor #6

Open
jetdream opened this issue Jul 27, 2020 · 1 comment
Open

Leaked cursor #6

jetdream opened this issue Jul 27, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@jetdream
Copy link

if (await this.db.listCollections({name: this.shadowColName}).hasNext()) await this.db.collection(this.shadowColName).drop();

@kshpin kshpin mentioned this issue Jul 28, 2020
@kshpin kshpin added the enhancement New feature or request label Jul 28, 2020
@kshpin
Copy link
Owner

kshpin commented Jul 28, 2020

MongoDB's node driver closes cursors on a timeout of 30 minutes. Not a fatal leak, but might be a problem with high load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants