[scraper] renames cache method

This commit is contained in:
TheBeastLT
2020-04-03 13:59:15 +02:00
parent 5b07692e57
commit 95505885f6
2 changed files with 6 additions and 5 deletions

View File

@@ -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
};