Permalink
Browse files

Updated README to accurately describe the 'max' property

  • Loading branch information...
spiffytech authored and isaacs committed Jan 1, 2013
1 parent 3751bd0 commit dd1c08558993b2a72c01474dc69a1c7ffe40cc09
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
@@ -26,7 +26,8 @@ away.
## Options
-* `max` The maximum number of items. Not setting this is kind of
+* `max` The maximum size of the cache, checked by applying the length
+ function to all values in the cache. Not setting this is kind of
silly, since that's the whole purpose of this lib, but it defaults
to `Infinity`.
* `maxAge` Maximum age in ms. Items are not pro-actively pruned out

0 comments on commit dd1c085

Please sign in to comment.