fix(extractor): use milliseconds instead of incorrect seconds for ttl
🤦♂️
This commit is contained in:
parent
79c8e7fc32
commit
17e70c169b
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ export class ExtractorRegistry {
|
|||
if (extractor.ttl) {
|
||||
await this.urlResultCache.set<UrlResult[]>(cacheKey, urlResults, extractor.ttl);
|
||||
}
|
||||
await this.lazyUrlResultCache.set<UrlResult[]>(normalizedUrl.href, urlResults, 2628000); // 1 month
|
||||
await this.lazyUrlResultCache.set<UrlResult[]>(normalizedUrl.href, urlResults, 2629800000); // 1 month
|
||||
} else {
|
||||
await this.lazyUrlResultCache.delete(normalizedUrl.href);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue