mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
InfluxDB export deadline
This commit is contained in:
parent
89b9aebfd7
commit
956a3713dc
3 changed files with 21 additions and 10 deletions
|
|
@ -222,13 +222,13 @@ end
|
|||
|
||||
-- ########################################################
|
||||
|
||||
function callback_utils.uploadTSdata()
|
||||
function callback_utils.uploadTSdata(deadline)
|
||||
local ts_utils = require("ts_utils_core")
|
||||
local drivers = ts_utils.listActiveDrivers()
|
||||
ts_utils.setup()
|
||||
|
||||
for _, driver in ipairs(drivers) do
|
||||
driver:export()
|
||||
driver:export(deadline)
|
||||
end
|
||||
end
|
||||
-- ########################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue