mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Removed useless imports in lua code upping the memory usage
This commit is contained in:
parent
2f76c9bf4b
commit
dbf4bf2a2b
53 changed files with 2981 additions and 3255 deletions
|
|
@ -2,10 +2,6 @@
|
|||
-- (C) 2014-24 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
|
||||
local DEFAULT_DATA_RETENTION_DAYS = 30
|
||||
local DEFAULT_AGGREGATED_FLOWS_DATA_RETENTION_DAYS = 60
|
||||
local DEFAULT_DATA_RETENTION_DAYS_KEY = "ntopng.prefs.data_retention_days"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue