mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Removed gettimeofday and Fixed Jailed Pool members delete
This commit is contained in:
parent
5202cac07d
commit
d6cf8d4d1b
2 changed files with 9 additions and 12 deletions
|
|
@ -46,7 +46,7 @@ function drop_host_pool_utils.check_periodic_hosts_list()
|
|||
-- Check the hosts inside the list
|
||||
while list_len > 0 do
|
||||
local data = ntop.lpopCache(pool_info.list_key)
|
||||
local curr_time = ntop.gettimemsec()
|
||||
local curr_time = os.time()
|
||||
local host
|
||||
local time
|
||||
|
||||
|
|
@ -74,4 +74,4 @@ end
|
|||
|
||||
-- ############################################
|
||||
|
||||
return drop_host_pool_utils
|
||||
return drop_host_pool_utils
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue