Remove Connections from SysProcess struct (#11373)

The connections info of the processes takes up a huge amount of space,
and is not important for adding any useful health checks. Removing it
will significantly reduce the size of the subnet health report.
This commit is contained in:
Shireesh Anjal authored and GitHub committed 2021-02-05 21:32:28 -08:00
1 parent 88c1bb0720
commit 97fe57bba9
2 files changed
+31 -31

No files matched your search

+1 -1
View File
@@ -202,7 +202,7 @@ func getLocalProcInfo(ctx context.Context, r *http.Request) madmin.ServerProcInf
if err != nil {
return errProcInfo("conns", err)
}
sysProc.Connections = conns
sysProc.ConnectionCount = len(conns)
createTime, err := proc.CreateTimeWithContext(ctx)
if err != nil {