mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
First code cleanup for better memory management
This commit is contained in:
parent
b5a4c2621b
commit
2f76c9bf4b
21 changed files with 968 additions and 852 deletions
|
|
@ -7,14 +7,9 @@
|
|||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
require "lua_utils"
|
||||
local influxdb_export_api = require "influxdb_export_api"
|
||||
|
||||
if influxdb_export_api.isInfluxdbEnabled() then
|
||||
local callback_utils = require "callback_utils"
|
||||
|
||||
local debug = false
|
||||
if(debug) then io.write("[upload_timeseries.lua] Uploading...\n") end
|
||||
callback_utils.uploadTSdata()
|
||||
if(debug) then io.write("[upload_timeseries.lua] Upload completed: sleeping...\n") end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue