Removed gettimeofday and Fixed Jailed Pool members delete

This commit is contained in:
Matteo Biscosi 2021-05-26 18:57:10 +02:00
parent 5202cac07d
commit d6cf8d4d1b
2 changed files with 9 additions and 12 deletions

View file

@ -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