Skip to content

Commit

Permalink
Fix DiskCache::remove_expired_entries
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years committed Apr 6, 2024
1 parent 6a42aea commit df0c3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/disk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ where
if now
.duration_since(cached.created_at)
.unwrap_or(Duration::from_secs(0))
< Duration::from_secs(lifetime_seconds)
>= Duration::from_secs(lifetime_seconds)
{
let _ = self.connection.remove(key);
}
Expand Down

0 comments on commit df0c3a5

Please sign in to comment.