mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[scraper] fixes cache option deprecation
This commit is contained in:
@@ -25,6 +25,7 @@ function initiateCache() {
|
||||
uri: MONGO_URI,
|
||||
options: {
|
||||
collection: 'torrentio_addon_collection',
|
||||
useUnifiedTopology: true,
|
||||
ttl: STREAM_TTL
|
||||
},
|
||||
ttl: STREAM_TTL,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user