mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[addon] disable mongo unifiedTopology
This commit is contained in:
@@ -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,
|
||||
|
||||
12
addon/package-lock.json
generated
12
addon/package-lock.json
generated
@@ -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": {
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user