Implements deadlines for periodic and user scripts

This commit is contained in:
Simone Mainardi 2020-02-18 18:44:41 +01:00
parent 7f449f8e64
commit 0e64fd94d6
30 changed files with 117 additions and 112 deletions

View file

@ -183,7 +183,7 @@ function top_talkers_utils.makeTopJson(_ifname)
return nil
end
local in_time = callback_utils.foreachHost(_ifname, os.time() + 50 --[[ seconds --]], function (hostname, hoststats)
local in_time = callback_utils.foreachHost(_ifname, function (hostname, hoststats)
local checkpoint = interface.checkpointHostTalker(ifid, hostname)
local tskey = hoststats["tskey"]
local vlan = hoststats["vlan"]