Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Swap (0.13 sec)

  1. cmd/bucket-targets.go

    				epHealth.offlineDuration = prev.offlineDuration
    				epHealth.lastHCAt = prev.lastHCAt
    				epHealth.latency = prev.latency
    			}
    			m[t.Endpoint] = epHealth
    		}
    	}
    	// swap out the map
    	sys.hc = m
    	sys.hMutex.Unlock()
    }
    
    func (sys *BucketTargetSys) healthStats() map[string]epHealth {
    	sys.hMutex.RLock()
    	defer sys.hMutex.RUnlock()
    	m := make(map[string]epHealth, len(sys.hc))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top