Skip to content

Commit

Permalink
remove write zero timer after read cache
Browse files Browse the repository at this point in the history
  • Loading branch information
KappaShilaff committed Mar 1, 2023
1 parent 25be4ef commit 7954212
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ impl RawCache {
});

*lock = cache;
*timer.write().await = 0;

res.into_iter()
.sorted_by(|x, y| match x.data.now.cmp(&y.data.now) {
Expand Down

0 comments on commit 7954212

Please sign in to comment.