Enable overlay by default (#835)

This commit is contained in:
Kaloyan Raev 2018-12-11 18:52:45 +02:00 committed by GitHub
parent 252da15f0d
commit 9449010c15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ type Config struct {
DatabaseURL string `help:"the database connection string to use" default:"bolt://$CONFDIR/pointerdb.db"` DatabaseURL string `help:"the database connection string to use" default:"bolt://$CONFDIR/pointerdb.db"`
MinRemoteSegmentSize int `default:"1240" help:"minimum remote segment size"` MinRemoteSegmentSize int `default:"1240" help:"minimum remote segment size"`
MaxInlineSegmentSize int `default:"8000" help:"maximum inline segment size"` MaxInlineSegmentSize int `default:"8000" help:"maximum inline segment size"`
Overlay bool `default:"false" help:"toggle flag if overlay is enabled"` Overlay bool `default:"true" help:"toggle flag if overlay is enabled"`
} }
func newKeyValueStore(dbURLString string) (db storage.KeyValueStore, err error) { func newKeyValueStore(dbURLString string) (db storage.KeyValueStore, err error) {