From e17880afba5e5cbe7554f22b2ac2a0f5891062c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Wed, 4 Dec 2024 18:25:21 +0100 Subject: [PATCH] Fix flushing in memory enrichment table --- src/enrichment_tables/memory/table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enrichment_tables/memory/table.rs b/src/enrichment_tables/memory/table.rs index 4126418fe2b70..cbad44c20f184 100644 --- a/src/enrichment_tables/memory/table.rs +++ b/src/enrichment_tables/memory/table.rs @@ -131,7 +131,7 @@ impl Memory { if needs_flush { self.last_flush = now; - handle.flush(); + handle.refresh(); if let Some(reader) = self.get_read_handle().read() { let mut byte_size = 0; for (k, v) in reader.iter() {