mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fix hosts statistics update frequency range and step
Note: the stats update is performed into the stats_update.lua which is executed every 5 seconds.
This commit is contained in:
parent
93a96eb214
commit
85e55afe90
2 changed files with 9 additions and 1 deletions
|
|
@ -965,7 +965,7 @@ function printInMemory()
|
|||
|
||||
prefsInputFieldPrefs(subpage_active.entries["housekeeping_frequency"].title,
|
||||
subpage_active.entries["housekeeping_frequency"].description,
|
||||
"ntopng.prefs.", "housekeeping_frequency", prefs.housekeeping_frequency, "number", nil, nil, nil, {min = 1, max = 60})
|
||||
"ntopng.prefs.", "housekeeping_frequency", prefs.housekeeping_frequency, "number", nil, nil, nil, {min = 5, max = 60, step = 5})
|
||||
|
||||
print('<tr><th colspan=2 style="text-align:right;"><button type="submit" class="btn btn-primary" style="width:115px" disabled="disabled">'..i18n("save")..'</button></th></tr>')
|
||||
print('</table>')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue