Increase RBF WAL write cache size to 1MB.

Previously we dropped the cache size to 64KB but that seems much
too low. Write performance suffers considerably.
This commit is contained in:
Ben Johnson 2020-10-30 17:09:33 -06:00
parent 3ff85ccb53
commit db74f0dffa

View file

@ -48,7 +48,7 @@ func NewDefaultConfig() *Config {
MaxSize: DefaultMaxSize,
FsyncEnabled: true,
CheckpointEveryDur: 10 * time.Second,
MaxWALSegmentFileSize: 1 << 16,
MaxWALSegmentFileSize: 1 << 20,
}
}