-
Notifications
You must be signed in to change notification settings - Fork 3
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
process doesn't close after scraping and DB upload ended #248
Comments
once I've got this after connection was not closed, but this happened with an older version of mongoInsertMany plus a new npm version of mongoDB. so it may be a case of not compatible versions. but anyway, it may help in debugging:
|
this one is getting higher priority since we are running the main script everday on schedule (GitHub actions scrape.yml) debug results: checked the processes with why-is-node-running
full log: why-is-node-running_20191121.txt |
they say mongodb 3.3.4 solves the issue: https://github.com/mongodb/node-mongodb-native/releases/tag/v3.3.4 |
since #236 - possibbly - we don't close mongoDB connection in the end of the process scrapeDailyMenu.js
it should be investigated what is the issue.
The text was updated successfully, but these errors were encountered: