From 53350ff2d6ed0bf2b666828b6b453d5cb0244c80 Mon Sep 17 00:00:00 2001 From: Damien Krotkine Date: Fri, 27 May 2016 11:27:12 +0200 Subject: [PATCH] fix bad documentation I'm pretty sure it's not "quota", but "check". cache_bucket.erl uses "check". --- src/cache.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache.erl b/src/cache.erl index ca63ec9..27ca13b 100644 --- a/src/cache.erl +++ b/src/cache.erl @@ -130,7 +130,7 @@ start() -> %% {size, integer()} - cache cardinality quota %% {n, integer()} - number of cache segments %% {ttl, integer()} - default time-to-live in seconds -%% {quota, integer()} - frequency of quota check in seconds +%% {check, integer()} - frequency of quota check in seconds %% {stats, function() | {Mod, Fun}} - cache statistic aggregate functor %% {heir, atom() | pid()} - heir of evicted cache segments -spec(start_link/1 :: (list()) -> {ok, pid()} | {error, any()}).