Skip to content

Commit

Permalink
fix(userspace/falco): clearing full output queue
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Dellaluce <[email protected]>
  • Loading branch information
jasondellaluce authored and poiana committed Sep 12, 2023
1 parent fdd520f commit 5595212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/falco/falco_outputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ inline void falco_outputs::push(const ctrl_msg& cmsg)
case falco_common::RECOVERY_EMPTY:
m_outputs_queue_num_drops += m_queue.size() + 1;
falco_logger::log(LOG_ERR, "Output queue out of memory. Drop event plus events in queue due to emptying the queue; continue on ...");
m_queue.empty();
m_queue.clear();
break;
case falco_common::RECOVERY_CONTINUE:
m_outputs_queue_num_drops++;
Expand Down

0 comments on commit 5595212

Please sign in to comment.