diff --git a/cache/osm.go b/cache/osm.go index 1cfefd0..ed4059e 100644 --- a/cache/osm.go +++ b/cache/osm.go @@ -154,7 +154,7 @@ func (c *cache) open(path string) error { opts.SetWriteBufferSize(c.options.WriteBufferSizeM * 1024 * 1024) } if c.options.BlockSizeK > 0 { - opts.SetBlockSize(c.options.BlockSizeK * 1024 * 1024) + opts.SetBlockSize(c.options.BlockSizeK * 1024) } db, err := levigo.Open(path, opts)