v0.34.12
This commit is contained in:
1 parent
b3dfd570b5
commit
a4042d6439
16 files changed
+362
-55
No files matched your search
Vendored
+4
@@ -52,6 +52,7 @@ impl Cache {
|
||||
transformed,
|
||||
skip_compression,
|
||||
remaining_ttl,
|
||||
entry_ttl,
|
||||
body_bytes,
|
||||
) = {
|
||||
let entry = store.entries.get_mut(&storage_key)?;
|
||||
@@ -67,6 +68,7 @@ impl Cache {
|
||||
entry.transformed,
|
||||
entry.skip_compression,
|
||||
entry.ttl.saturating_sub(age),
|
||||
entry.ttl,
|
||||
entry.body.len(),
|
||||
)
|
||||
};
|
||||
@@ -97,6 +99,7 @@ impl Cache {
|
||||
hits,
|
||||
transformed,
|
||||
remaining_ttl,
|
||||
cache_status_ttl: cache_status_ttl(entry_ttl, age),
|
||||
resident_age_seconds,
|
||||
stale: state.stale(),
|
||||
background_revalidate: state.background_revalidate(),
|
||||
@@ -301,6 +304,7 @@ impl Cache {
|
||||
hits,
|
||||
transformed: entry.transformed,
|
||||
remaining_ttl: entry.ttl.saturating_sub(age),
|
||||
cache_status_ttl: cache_status_ttl(entry.ttl, age),
|
||||
resident_age_seconds,
|
||||
stale: state.stale(),
|
||||
background_revalidate: state.background_revalidate(),
|
||||
|
||||
Reference in new issue
Block a user