mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Allows drivers/rrd.lua to run longer than the deadline
This commit is contained in:
parent
7148a4111d
commit
cf90bb2bcf
1 changed files with 0 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue