increase refindex cache size

master
Oliver Tonnhofer 2013-06-19 11:50:57 +02:00
parent 6579da5526
commit 99fc4dfef1
1 changed files with 1 additions and 1 deletions

2
cache/diff.go vendored
View File

@ -106,7 +106,7 @@ type idRef struct {
ref int64
}
const cacheSize = 4096
const cacheSize = 256 * 1024
func NewRefIndex(path string, opts *CacheOptions) (*RefIndex, error) {
index := RefIndex{}