Badger: Do not compact L0 on close by default
If this goes wrong probably database goes to hell. We want to stop the daemon as quickly as possible.
This commit is contained in:
parent
a399d893b7
commit
b247783dd8
|
@ -28,6 +28,7 @@ var (
|
|||
|
||||
func init() {
|
||||
DefaultBadgerOptions = badger.DefaultOptions("")
|
||||
DefaultBadgerOptions.CompactL0OnClose = false
|
||||
}
|
||||
|
||||
// Config is used to initialize a BadgerDB datastore. It implements the
|
||||
|
|
Loading…
Reference in New Issue
Block a user