From 86366b744eaf0cdce1103d8def4390b74a977e13 Mon Sep 17 00:00:00 2001 From: Vladislavs Sokurenko Date: Thu, 4 Jul 2024 14:26:56 +0300 Subject: [PATCH] .......PS. [ZBX-24712] fixed high memory usage in preprocessing manager and main process --- src/libs/zbxpreproc/pp_manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/zbxpreproc/pp_manager.c b/src/libs/zbxpreproc/pp_manager.c index 54eec88f84e4..df317ed064c3 100644 --- a/src/libs/zbxpreproc/pp_manager.c +++ b/src/libs/zbxpreproc/pp_manager.c @@ -1330,11 +1330,11 @@ ZBX_THREAD_ENTRY(zbx_pp_manager_thread, args) { if (0 != zbx_dc_flush_history()) { - time_flush = sec; - zbx_rtc_notify_generic(&manager->rtc, ZBX_PROCESS_TYPE_HISTSYNCER, 1, ZBX_RTC_HISTORY_SYNC_NOTIFY, NULL, 0); } + + time_flush = sec; } /* trigger vps monitor update at least once per second */