mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-09-01 01:35:15 +00:00
catch up with api changes
This commit is contained in:
parent
3640f6d37c
commit
e840c8314c
1 changed files with 2 additions and 1 deletions
|
@ -177,8 +177,9 @@ func openDB(dbpath string, flag opt.OptionsFlag) (pbdb btcdb.Db, err error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
myCache := cache.NewEmptyCache()
|
||||||
opts := &opt.Options{Flag: flag,
|
opts := &opt.Options{Flag: flag,
|
||||||
BlockCache: cache.EmptyCache{},
|
BlockCache: myCache,
|
||||||
MaxOpenFiles: 256,
|
MaxOpenFiles: 256,
|
||||||
CompressionType: opt.NoCompression,
|
CompressionType: opt.NoCompression,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue