mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
refactor(rtt): use proto Duration, add tests
This commit is contained in:
1 parent
8d023f5c53
commit
84990ad692
10 files changed
+387
-144
No files matched your search
@@ -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()
|
||||
}
|
||||
Reference in new issue
Block a user