parent
15c1c0fb5e
commit
1446692f02
@ -465,7 +465,10 @@ where
|
|||||||
state,
|
state,
|
||||||
Event::UpdateUserStats {
|
Event::UpdateUserStats {
|
||||||
name: "stability".to_string(),
|
name: "stability".to_string(),
|
||||||
value: UserStats::Ratio(unstable_entries as u64, map_len as u64),
|
value: UserStats::Ratio(
|
||||||
|
(map_len - unstable_entries) as u64,
|
||||||
|
map_len as u64,
|
||||||
|
),
|
||||||
phantom: PhantomData,
|
phantom: PhantomData,
|
||||||
},
|
},
|
||||||
)?;
|
)?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user