From 630187ecb25720b8464433973faae9dd1f053452 Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Sat, 27 Mar 2021 14:20:10 -0400 Subject: [PATCH] remove double removal logic --- src/cache.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cache.rs b/src/cache.rs index 41ce24c..4e234e6 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -101,7 +101,6 @@ impl Cache { }; // put into in-memory - self.memory_cur_size += cached_image.len(); self.put(key.clone(), cached_image).await; }