mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Greatly reduces the number of open files in second.lua
This commit is contained in:
parent
83a58ad016
commit
46439a8c02
5 changed files with 49 additions and 31 deletions
|
|
@ -5,10 +5,11 @@
|
|||
dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
require "template"
|
||||
require "lua_utils"
|
||||
|
||||
function initPrefs()
|
||||
local pr = nil
|
||||
|
||||
local function initPrefs()
|
||||
if pr == nil then
|
||||
pr = ntop.getPrefs()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue