diff --git a/userspace/falco/configuration.cpp b/userspace/falco/configuration.cpp index c2f41ef7..1227b0c7 100644 --- a/userspace/falco/configuration.cpp +++ b/userspace/falco/configuration.cpp @@ -176,6 +176,8 @@ void falco_configuration::init(string conf_filename, list &cmdline_optio falco_logger::set_level(m_log_level); + m_output_timeout = m_config->get_scalar("output_timeout", 2000); + m_notifications_rate = m_config->get_scalar("outputs", "rate", 1); m_notifications_max_burst = m_config->get_scalar("outputs", "max_burst", 1000); diff --git a/userspace/falco/configuration.h b/userspace/falco/configuration.h index 37cb3a8e..aa0bc2ea 100644 --- a/userspace/falco/configuration.h +++ b/userspace/falco/configuration.h @@ -204,6 +204,7 @@ public: bool m_buffered_outputs; bool m_time_format_iso_8601; + uint32_t m_output_timeout; bool m_grpc_enabled; uint32_t m_grpc_threadiness;