Skip to content

Commit

Permalink
Bump 'blocksReaderBuffSize' to 64 KB.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeskov committed Aug 12, 2024
1 parent 00e2b2a commit 0937db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/importer/blocks_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type blocksReader struct {
closeFun func() error
}

const blocksReaderBuffSize = 32 * 1024 // 32 KB
const blocksReaderBuffSize = 64 * 1024 // 64 KB

func newBlocksReader(blockchainPath string) (*blocksReader, error) {
f, err := os.Open(filepath.Clean(blockchainPath))
Expand Down

0 comments on commit 0937db5

Please sign in to comment.