db: reduce default vlog size to 256M
This commit is contained in:
@@ -156,7 +156,7 @@ func (app *appContext) loadConfig() error {
|
|||||||
app.MustSetValue("ui", "port", "8056")
|
app.MustSetValue("ui", "port", "8056")
|
||||||
app.MustSetValue("advanced", "tls_port", "8057")
|
app.MustSetValue("advanced", "tls_port", "8057")
|
||||||
|
|
||||||
app.MustSetValue("advanced", "value_log_size", "1024")
|
app.MustSetValue("advanced", "value_log_size", "512")
|
||||||
|
|
||||||
pwrMethods := []string{"allow_pwr_username", "allow_pwr_email", "allow_pwr_contact_method"}
|
pwrMethods := []string{"allow_pwr_username", "allow_pwr_email", "allow_pwr_contact_method"}
|
||||||
allDisabled := true
|
allDisabled := true
|
||||||
|
|||||||
@@ -341,7 +341,7 @@ sections:
|
|||||||
name: Database max vlog size (MiB)
|
name: Database max vlog size (MiB)
|
||||||
requires_restart: true
|
requires_restart: true
|
||||||
type: number
|
type: number
|
||||||
value: 1024
|
value: 256
|
||||||
description: Max size for the database's value log. Lower values may reduce performance.
|
description: Max size for the database's value log. Lower values may reduce performance.
|
||||||
- setting: debug_log_emails
|
- setting: debug_log_emails
|
||||||
name: 'Debug Storage Logging: Emails'
|
name: 'Debug Storage Logging: Emails'
|
||||||
|
|||||||
Reference in New Issue
Block a user