From df70c70ab5b97081a34934881e5af50b49e3971c Mon Sep 17 00:00:00 2001 From: Alexandr Stelnykovych Date: Mon, 16 Dec 2024 16:01:42 +0200 Subject: [PATCH] [improvement] Small cache size (2 ^ 8) = (2 XOR 8) = 10. Was it intended to be 256? --- service/intel/filterlists/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/intel/filterlists/database.go b/service/intel/filterlists/database.go index 5f55323c6..6de070bbf 100644 --- a/service/intel/filterlists/database.go +++ b/service/intel/filterlists/database.go @@ -50,7 +50,7 @@ var ( var cache = database.NewInterface(&database.Options{ Local: true, Internal: true, - CacheSize: 2 ^ 8, + CacheSize: 256, }) // getFileFunc is the function used to get a file from