Skip to content

Commit

Permalink
chore(blooms): increase blockpool by factor-of-2 (#12363)
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-d authored Mar 26, 2024
1 parent d3266a1 commit 30ac88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/bloom/v1/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var (
// 4KB -> 128MB
BlockPool = BytePool{
pool: pool.New(
4<<10, 128<<20, 4,
4<<10, 128<<20, 2,
func(size int) interface{} {
return make([]byte, size)
}),
Expand Down

0 comments on commit 30ac88b

Please sign in to comment.