-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(perf): Close MongoDB cursors after calling forEach2() (#405)
* fix(perf): Close cursor after calls to mongodb.forEach2() * fix * 🧹 /api/track * fix "TypeError: Cannot read property 's' of undefined" * recognize errors * models/notif.js: also jump over errors * close cursor and skip errors in snapshotTrackScores() * same in refreshTrackCollection() * 🧹 updateAndPopulateMetadata() and populateTrackMetadata() + callers
- Loading branch information
1 parent
f9a78d0
commit 3f1ec06
Showing
7 changed files
with
37 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.