Skip to content

Commit

Permalink
increase buffer further
Browse files Browse the repository at this point in the history
  • Loading branch information
i-norden committed Dec 2, 2021
1 parent a8857e7 commit 8c999d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statediff/indexer/database/file/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
var (
nullHash = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000")
pipeSize = 65336 // min(linuxPipeSize, macOSPipeSize)
writeBufferSize = pipeSize * 16 * 48
writeBufferSize = pipeSize * 16 * 96
)

// SQLWriter writes sql statements to a file
Expand Down

0 comments on commit 8c999d2

Please sign in to comment.