Skip to content

Commit

Permalink
Fix flushing in memory enrichment table
Browse files Browse the repository at this point in the history
  • Loading branch information
esensar committed Dec 4, 2024
1 parent 112b9fc commit e17880a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enrichment_tables/memory/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e17880a

Please sign in to comment.