more precise count of boolean expiry memo caches
This commit is contained in:
parent
84c2208111
commit
4c2733f5d1
|
@ -30,5 +30,5 @@ abstract class BooleanExpiryMemo(timeout: Int) {
|
|||
|
||||
def keys: Iterable[String] = cache.asMap.keys
|
||||
|
||||
def count = cache.size
|
||||
def preciseCount = keys.toList.size
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue