Tweak the database block cache size, and add config for it

This commit is contained in:
Jakob Borg
2015-05-11 09:01:09 +02:00
parent 179c9ee8cc
commit c2f2d8771f
4 changed files with 16 additions and 13 deletions

View File

@@ -240,6 +240,7 @@ type OptionsConfiguration struct {
ProgressUpdateIntervalS int `xml:"progressUpdateIntervalS" json:"progressUpdateIntervalS" default:"5"`
SymlinksEnabled bool `xml:"symlinksEnabled" json:"symlinksEnabled" default:"true"`
LimitBandwidthInLan bool `xml:"limitBandwidthInLan" json:"limitBandwidthInLan" default:"false"`
DatabaseBlockCacheMiB int `xml:"databaseBlockCacheMiB" json:"databaseBlockCacheMiB" default:"0"`
}
func (orig OptionsConfiguration) Copy() OptionsConfiguration {