Closed canxuemianbao closed 2 years ago
export interface LRUOptions { readonly maxAge?: number readonly maxSize: number }
this.memoizedResults = new QuickLRU({ maxSize: this.options?.lru?.maxSize ? this.options.lru.maxSize : 100, })
Thanks for you work, and I recently noticed that you provide LRUOptions with maxAge, but did not pass to QuickLRU.
Hi @canxuemianbao would you mind creating a PR?
sure, let me try, and this is the PR
Thanks for you work, and I recently noticed that you provide LRUOptions with maxAge, but did not pass to QuickLRU.