mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-03-11 17:15:37 +00:00
[scraper] fixes cache option deprecation
This commit is contained in:
parent
d26764fce9
commit
4de9f3f013
2 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue