Skip to content

Commit

Permalink
luci-app-nlbwmon: the default of database_compress is 1, match that b…
Browse files Browse the repository at this point in the history
…ehaviour in UI.

Signed-off-by: Jan Pazdziora <jan.pazdziora@code.adelton.com>
  • Loading branch information
adelton authored and systemcrash committed Jan 14, 2025
1 parent c50ff5e commit e91e147
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.'));
Expand Down

0 comments on commit e91e147

Please sign in to comment.