mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 23:34:34 +04:00
luci-app-nlbwmon: the default of database_compress is 1, match that behaviour in UI.
Signed-off-by: Jan Pazdziora <jan.pazdziora@code.adelton.com>
This commit is contained in:
committed by
Paul Donald
parent
c50ff5e2a3
commit
e91e147714
@@ -150,6 +150,7 @@ return view.extend({
|
||||
|
||||
o = s.taboption('advanced', form.Flag, 'database_compress', _('Compress database'),
|
||||
_('Whether to gzip compress archive databases. Compressing the database files makes accessing old data slightly slower but helps to reduce storage requirements.'));
|
||||
o.default = o.enabled;
|
||||
|
||||
o = s.taboption('advanced', form.Value, 'database_generations', _('Stored periods'),
|
||||
_('Maximum number of accounting periods to keep, use zero to keep databases forever.'));
|
||||
|
||||
Reference in New Issue
Block a user