You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.ttl is always undefined. it is never assigned. Even this is undefined, LRU use default TTL when put.(https://www.npmjs.com/package/lru-cache#api) So undefined doesn't make problems.
But this.ttl is never used. So it should be removed.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, I found some thing which is never used.
Please check the 16th line of
LRUCache.js
.this.ttl
is alwaysundefined
. it is never assigned. Even this isundefined
, LRU use default TTL whenput
.(https://www.npmjs.com/package/lru-cache#api) Soundefined
doesn't make problems.But
this.ttl
is never used. So it should be removed.The text was updated successfully, but these errors were encountered: