remove double removal logic

This commit is contained in:
Edward Shen 2021-03-27 14:20:10 -04:00
parent 49114d4c61
commit 630187ecb2
Signed by: edward
GPG key ID: 19182661E818369F

View file

@ -101,7 +101,6 @@ impl Cache {
}; };
// put into in-memory // put into in-memory
self.memory_cur_size += cached_image.len();
self.put(key.clone(), cached_image).await; self.put(key.clone(), cached_image).await;
} }