mirror of
https://github.com/minio/minio.git
synced 2025-11-10 14:09:48 -05:00
Simplify and cleanup metadata r/w functions (#8146)
This commit is contained in:
committed by
kannappanr
parent
a7be313230
commit
53e4887e02
@@ -100,7 +100,7 @@ func GetHistoricLoad() Load {
|
||||
// for the process currently
|
||||
func GetLoad() Load {
|
||||
vals := make(chan time.Duration, 3)
|
||||
wg := sync.WaitGroup{}
|
||||
var wg sync.WaitGroup
|
||||
for i := 0; i < cpuLoadSampleSize; i++ {
|
||||
cpuCounter, err := newCounter()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user