aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-cache
diff options
context:
space:
mode:
authorbattmdpkq <[email protected]>2024-03-08 02:52:27 +0000
committerEdward Wang <[email protected]>2024-03-15 14:37:56 -0700
commit8a84b24ad061c40583b7d90b38296805fbb1b1ef (patch)
treeebb6ba9baebd31a4987c909095d93e09188ea319 /pingora-cache
parent8963575ed23533daaed67ccbe68bdd08051bef88 (diff)
downloadpingora-8a84b24ad061c40583b7d90b38296805fbb1b1ef.tar.gz
pingora-8a84b24ad061c40583b7d90b38296805fbb1b1ef.zip
fix some comments
Signed-off-by: battmdpkq <[email protected]> Replicated-from: https://github.com/cloudflare/pingora/pull/123 Includes-commit: 943bedb2811dc9a2b9b31c2f3576aa7cd2cb8f90
Diffstat (limited to 'pingora-cache')
-rw-r--r--pingora-cache/src/memory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pingora-cache/src/memory.rs b/pingora-cache/src/memory.rs
index 6d0a519..6a66577 100644
--- a/pingora-cache/src/memory.rs
+++ b/pingora-cache/src/memory.rs
@@ -211,7 +211,7 @@ impl HandleHit for MemHitHandler {
pub struct MemMissHandler {
body: Arc<RwLock<Vec<u8>>>,
bytes_written: Arc<watch::Sender<PartialState>>,
- // these are used only in finish() to to data from temp to cache
+ // these are used only in finish() to data from temp to cache
key: String,
cache: Arc<RwLock<HashMap<String, CacheObject>>>,
temp: Arc<RwLock<HashMap<String, TempObject>>>,