Skip to content

Commit

Permalink
Update entry's timestamps immediately after insertion
Browse files Browse the repository at this point in the history
Remove some source code comments.
  • Loading branch information
tatsuya6502 committed Jun 25, 2022
1 parent 26b0e96 commit 264f99f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/future/cache.rs
Expand Up @@ -1404,11 +1404,6 @@ mod tests {
cache.insert(0, 1).await;
assert_eq!(cache.get(&0), Some(1));

// use moka::sync::ConcurrentCacheExt;
// cache.sync();

// Timer::after(Duration::from_millis(520)).await;

cache.invalidate_all();
assert_eq!(cache.get(&0), None);
}
Expand Down

0 comments on commit 264f99f

Please sign in to comment.