mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-27 15:17:50 +00:00
cleanup(userspace/falco): adjust outputs_queue_num_drops counter for recovery 'empty'
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com>
This commit is contained in:
parent
dad2762ed6
commit
73f15e6c5b
@ -292,8 +292,8 @@ inline void falco_outputs::push(const ctrl_msg& cmsg)
|
||||
falco_logger::log(LOG_ERR, "Fatal error: Output queue out of memory. Exiting ...");
|
||||
exit(EXIT_FAILURE);
|
||||
case falco_common::RECOVERY_EMPTY:
|
||||
m_outputs_queue_num_drops += m_queue.size();
|
||||
falco_logger::log(LOG_ERR, "Output queue out of memory. Dropping events in queue due to emptying the queue and continue on ...");
|
||||
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();
|
||||
break;
|
||||
case falco_common::RECOVERY_CONTINUE:
|
||||
|
Loading…
Reference in New Issue
Block a user