mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[scraper] renames cache method
This commit is contained in:
@@ -92,7 +92,7 @@ function cacheWrapResolvedUrl(id, method) {
|
||||
return cacheWrap(memoryCache, `${RESOLVED_URL_KEY_PREFIX}:${id}`, method, { ttl: { RESOLVED_URL_TTL } });
|
||||
}
|
||||
|
||||
function cacheWrapProxy(id, method) {
|
||||
function cacheWrapOptions(id, method) {
|
||||
return cacheWrap(memoryCache, `${PROXY_KEY_PREFIX}:${id}`, method, { ttl: { PROXY_TTL } });
|
||||
}
|
||||
|
||||
@@ -102,6 +102,6 @@ module.exports = {
|
||||
cacheWrapMetadata,
|
||||
retrieveTorrentFiles,
|
||||
cacheWrapResolvedUrl,
|
||||
cacheWrapProxy
|
||||
cacheWrapOptions
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user