From 430186799bb5020415d675e1df5ed97410643d59 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 11 Aug 2018 18:03:13 +0200 Subject: [PATCH] Remove store flush caching as it is not necessary anymore --- bin/core/imag-ids/src/main.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bin/core/imag-ids/src/main.rs b/bin/core/imag-ids/src/main.rs index c8da3cef..308a56aa 100644 --- a/bin/core/imag-ids/src/main.rs +++ b/bin/core/imag-ids/src/main.rs @@ -91,14 +91,6 @@ fn main() { .entries() .map_err_trace_exit_unwrap(1) .trace_unwrap_exit(1) - .enumerate() - .map(|(i, e)| { - if i % 100 == 0 { - let _ = rt.store().flush_cache(); - } - - e - }) .filter(|id| collection_filter.filter(id)) .filter(|id| match query_filter.as_ref() { None => true,