mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fixes blacklists timeseries not correctly showing values (#8817)
This commit is contained in:
parent
027a4ebbf4
commit
c214ffca9a
5 changed files with 40 additions and 14 deletions
|
|
@ -8,6 +8,7 @@ package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|||
-- #####################################
|
||||
|
||||
local rest_utils = require("rest_utils")
|
||||
local daily_timeout = 86400
|
||||
|
||||
-- #####################################
|
||||
|
||||
|
|
@ -29,7 +30,7 @@ local function save_column_config()
|
|||
end
|
||||
|
||||
local redis_key = string.format(redis_base_key, table_id, user_id)
|
||||
ntop.setCache(redis_key, json.encode(visible_columns))
|
||||
ntop.setCache(redis_key, json.encode(visible_columns), daily_timeout)
|
||||
|
||||
return(rest_utils.answer(rest_utils.consts.success.ok, visible_columns))
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue