Skip to content

Commit

Permalink
lib.timers.ingress_drop_monitor: clear vmprofiles on flush
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Dec 3, 2019
1 parent ae35674 commit 1124b80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/timers/ingress_drop_monitor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ function IngressDropMonitor:jit_flush_if_needed ()
print(msg)

self.ingress_packet_drop_alarm:raise({alarm_text=msg})
if self.action == 'flush' then jit.flush() end
if self.action == 'flush' then
jit.flush()
engine.clearvmprofiles()
end
end

function IngressDropMonitor:timer(interval)
Expand Down

0 comments on commit 1124b80

Please sign in to comment.