thejordanprice / p2pspider

Daemon that scrapes the DHT swarm and an express bootstrapped front-end connected to the same mongodb to create an automated magnet db with search.
https://github.com/thejordanprice/p2pspider
MIT License
20 stars 10 forks source link

Found this in error logs #1

Closed scriptzteam closed 6 years ago

scriptzteam commented 7 years ago

Thx for nice piece of code! .)

root@GBiT:~/p2pspider# tail -f /root/.pm2/logs/daemon-error-1.log(node:9523) DeprecationWarning:open()is deprecated in mongoose >= 4.11.0, useopenUri()instead, or set theuseMongoClientoption if usingconnect()orcreateConnection(). See http://mongoosejs.com/docs/connections.html#use-mongo-client

thejordanprice commented 6 years ago

This isn't really an ISSUE, its more of a thing complaining about 'promises' and the way it is connecting to the DB. Eventually I will correct that issue, I've just been working too much to actually fix things.

Pull requests that are decent should be accepted.

thejordanprice commented 6 years ago

I've patched this issue.