Skip to content

Commit

Permalink
[improvement] Small cache size
Browse files Browse the repository at this point in the history
(2 ^ 8) = (2 XOR 8) = 10.
Was it intended to be 256?
  • Loading branch information
stenya committed Dec 16, 2024
1 parent 6e173e3 commit df70c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/intel/filterlists/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df70c70

Please sign in to comment.