-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Simplify use_asset_cacher
hook
#1032
Conversation
crates/hooks/src/use_asset_cacher.rs
Outdated
@@ -36,7 +40,7 @@ pub enum AssetAge { | |||
|
|||
impl Default for AssetAge { | |||
fn default() -> Self { | |||
Self::Duration(Duration::from_secs(3600)) // 1h | |||
Self::Duration(Duration::from_secs(10)) // 1h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert to 3600
crates/hooks/Cargo.toml
Outdated
@@ -41,6 +41,7 @@ nokhwa = { version = "0.10.7", features = ["input-native"], optional = true } | |||
paste = "1.0.14" | |||
bitflags = "2.4.1" | |||
bytes = "1.5.0" | |||
tracing.workspace = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tracing.workspace = true | |
tracing = { workspace = true } |
examples/app_dog.rs
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert this too
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1032 +/- ##
========================================
Coverage 74.78% 74.79%
========================================
Files 219 219
Lines 25433 25576 +143
========================================
+ Hits 19020 19129 +109
- Misses 6413 6447 +34 ☔ View full report in Codecov by Sentry. |
No description provided.