Reworked hosts listing in order to avoid/limit out-of-memory issues

Implemented aggregation of hosts and flows when using views
This commit is contained in:
Luca 2015-12-27 18:55:50 +01:00
parent df957f9e55
commit 11f8c934d0
40 changed files with 391 additions and 354 deletions

View file

@ -14,7 +14,7 @@ active_page = "hosts"
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
interface.select(ifname)
hosts_stats = interface.getHostsInfo()
hosts_stats,total = aggregateHostsStats(interface.getHostsInfo())
num = 0
for key, value in pairs(hosts_stats) do
num = num + 1