mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Add connectivity check at startup. If offline, check hourly.
This commit is contained in:
parent
a3b9792df8
commit
bb297048c7
5 changed files with 91 additions and 17 deletions
|
|
@ -740,6 +740,11 @@ end
|
|||
|
||||
-- This is run in housekeeping.lua
|
||||
function lists_utils.checkReloadLists()
|
||||
|
||||
if ntop.isOffline() then
|
||||
return
|
||||
end
|
||||
|
||||
local forced_reload = (ntop.getCache("ntopng.cache.reload_lists_utils") == "1")
|
||||
local reload_now = false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue