[addon] disable mongo unifiedTopology

This commit is contained in:
TheBeastLT
2020-03-31 11:53:59 +02:00
parent 1719a199b0
commit 6b36667b7f
3 changed files with 16 additions and 3 deletions

View File

@@ -22,7 +22,8 @@ function initiateCache() {
uri: MONGO_URI,
options: {
collection: 'torrentio_addon_collection',
useUnifiedTopology: true,
useNewUrlParser: true,
useUnifiedTopology: false,
ttl: STREAM_TTL
},
ttl: STREAM_TTL,

View File

@@ -232,6 +232,18 @@
"cache-manager": "^2.9.0",
"lodash": "^4.17.15",
"mongodb": "^3.1.13"
},
"dependencies": {
"cache-manager": {
"version": "2.11.1",
"resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-2.11.1.tgz",
"integrity": "sha512-XhUuc9eYwkzpK89iNewFwtvcDYMUsvtwzHeyEOPJna/WsVsXcrzsA1ft2M0QqPNunEzLhNCYPo05tEfG+YuNow==",
"requires": {
"async": "1.5.2",
"lodash.clonedeep": "4.5.0",
"lru-cache": "4.0.0"
}
}
}
},
"callsites": {

View File

@@ -8,8 +8,8 @@
"author": "TheBeastLT <pauliox@beyond.lt>",
"license": "MIT",
"dependencies": {
"cache-manager": "^2.9.0",
"cache-manager-mongodb": "^0.2.1",
"cache-manager": "^2.11.1",
"cache-manager-mongodb": "^0.2.2",
"express-rate-limit": "^5.1.1",
"needle": "^2.2.4",
"parse-torrent-title": "git://github.com/TheBeastLT/parse-torrent-title.git#afd4a374276420c13c52df8e3d07ae7699c46b60",