Allows drivers/rrd.lua to run longer than the deadline

This commit is contained in:
Simone Mainardi 2020-03-04 17:58:48 +01:00
parent 7148a4111d
commit cf90bb2bcf

View file

@ -1124,13 +1124,6 @@ function driver:export()
for cur_ifid, iface in pairs(available_interfaces) do
for cur_dequeue=1, rrd_queue_max_dequeues_per_interface do
if cur_dequeue % 10 == 0 then
if ntop.isDeadlineApproaching() then
-- No time left
return
end
end
local ts_point = interface.rrd_dequeue(tonumber(cur_ifid))
if not ts_point then