Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(userspace/falco): clearing full output queue #2798

Merged
merged 1 commit into from Sep 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion userspace/falco/falco_outputs.cpp
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