refactor(rtt): use proto Duration, add tests

This commit is contained in:
Pasha Sviderski
2026-04-20 11:36:44 +10:00
parent 8d023f5c53
commit 84990ad692
10 changed files with 387 additions and 144 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ func (c *Cluster) RemoveMachine(ctx context.Context, req *pb.RemoveMachineReques
return &emptypb.Empty{}, nil
}
// MemberRTTs returns the average and standard deviation of round-trip times from this member to each cluster member.
// MemberRTTs returns the median and standard deviation of round-trip times from this member to each cluster member.
func (c *Cluster) MemberRTTs() ([]corrosion.MemberRTTStats, error) {
return c.corroAdmin.ClusterMemberRTTs()
}