[scraper] fixes cache option deprecation

This commit is contained in:
TheBeastLT
2020-03-17 19:40:19 +01:00
parent d26764fce9
commit 4de9f3f013
2 changed files with 3 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ function initiateCache() {
uri: MONGO_URI,
options: {
collection: 'torrentio_addon_collection',
useUnifiedTopology: true,
ttl: STREAM_TTL
},
ttl: STREAM_TTL,

View File

@@ -23,6 +23,7 @@ function initiateTorrentFilesCache() {
uri: MONGO_URI,
options: {
collection: 'cacheManager',
useUnifiedTopology: true,
},
ttl: GLOBAL_TTL,
ignoreCacheErrors: true
@@ -37,6 +38,7 @@ function initiateRemoteCache() {
uri: MONGO_URI,
options: {
collection: 'torrentio_scraper_collection',
useUnifiedTopology: true,
},
ttl: GLOBAL_TTL,
ignoreCacheErrors: true