Compare commits
2 Commits
bc8d3c4c9f
...
155790da91
Author | SHA1 | Date | |
---|---|---|---|
|
155790da91 | ||
15620da103 |
@ -6,7 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
## [0.2.4] - 2025-01-01
|
## [0.3.0] - 2025-01-01
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- add small help to see how much time is left in cache
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- *(deps)* update rust crate serde to v1.0.217
|
- *(deps)* update rust crate serde to v1.0.217
|
||||||
|
@ -3,7 +3,7 @@ members = ["crates/*"]
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.2.4"
|
version = "0.3.0"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
|
|
||||||
|
@ -79,6 +79,11 @@ impl Cache {
|
|||||||
tracing::debug!("cache has expired");
|
tracing::debug!("cache has expired");
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tracing::debug!(
|
||||||
|
"cache is valid for: {} mins",
|
||||||
|
cache_duration.saturating_sub(file_modified_last).as_secs() / 60
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user