Skip to content

Commit

Permalink
Merge pull request #198 from 9999years/fix-remove-expired-entries
Browse files Browse the repository at this point in the history
Fix `DiskCache::remove_expired_entries`
  • Loading branch information
jaemk authored Apr 7, 2024
2 parents 6a42aea + df0c3a5 commit 54be6a5
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 54be6a5

Please sign in to comment.