We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b24b39a commit 036fa7aCopy full SHA for 036fa7a
1 file changed
src/cache/multilevel.rs
@@ -69,14 +69,14 @@ impl AtomicLevelStats {
69
Self {
70
name,
71
location,
72
- hits: AtomicU64::new(0),
73
- misses: AtomicU64::new(0),
74
- writes: AtomicU64::new(0),
75
- write_failures: AtomicU64::new(0),
76
- backfills_from: AtomicU64::new(0),
77
- backfills_to: AtomicU64::new(0),
78
- hit_duration_nanos: AtomicU64::new(0),
79
- write_duration_nanos: AtomicU64::new(0),
+ hits: Default::default(),
+ misses: Default::default(),
+ writes: Default::default(),
+ write_failures: Default::default(),
+ backfills_from: Default::default(),
+ backfills_to: Default::default(),
+ hit_duration_nanos: Default::default(),
+ write_duration_nanos: Default::default(),
80
}
81
82
0 commit comments