mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-04 09:11:34 -07:00
Add database performance tuning guidelines and user-configurable WAL size limit
This commit is contained in:
@@ -341,6 +341,15 @@ def importConfigs(pm, db, all_plugins):
|
||||
"[]",
|
||||
"General",
|
||||
)
|
||||
conf.PRAGMA_JOURNAL_SIZE_LIMIT = ccd(
|
||||
"PRAGMA_JOURNAL_SIZE_LIMIT",
|
||||
50,
|
||||
c_d,
|
||||
"WAL size limit (MB)",
|
||||
'{"dataType":"integer", "elements": [{"elementType" : "input", "elementOptions" : [{"type": "number"}] ,"transformers": []}]}',
|
||||
"[]",
|
||||
"General",
|
||||
)
|
||||
conf.REFRESH_FQDN = ccd(
|
||||
"REFRESH_FQDN",
|
||||
False,
|
||||
|
||||
Reference in New Issue
Block a user