From 1f345b311f7f4bb3246a649ced3cec11d742b6e4 Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Thu, 22 Sep 2022 17:42:46 +0200 Subject: Sizes of LRU caches are now configurable 0 as size value disable the cache. The diffs in unit tests are due to the fact that some lookups are performed before the first insert: before this change these lookups weren't counted because the cache was not yet initialized, now they are. --- tests/result/netflix.pcap.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/result/netflix.pcap.out') diff --git a/tests/result/netflix.pcap.out b/tests/result/netflix.pcap.out index 86f0484d7..464f6dca2 100644 --- a/tests/result/netflix.pcap.out +++ b/tests/result/netflix.pcap.out @@ -11,7 +11,7 @@ LRU cache bittorrent: 0/0/0 (insert/search/found) LRU cache zoom: 0/0/0 (insert/search/found) LRU cache stun: 0/0/0 (insert/search/found) LRU cache tls_cert: 0/0/0 (insert/search/found) -LRU cache mining: 0/0/0 (insert/search/found) +LRU cache mining: 0/1/0 (insert/search/found) LRU cache msteams: 0/0/0 (insert/search/found) Automa host: 72/50 (search/found) Automa domain: 72/0 (search/found) -- cgit v1.2.3