MCPcopy Index your code
hub / github.com/ContentSquare/chproxy / load

Method load

scope.go:764–770  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

762}
763
764func (r *replica) load() uint32 {
765 var reqs uint32
766 for _, h := range r.hosts {
767 reqs += h.CurrentLoad()
768 }
769 return reqs
770}
771
772type cluster struct {
773 name string

Callers 4

StringMethod · 0.45
getReplicaMethod · 0.45
TestRunningQueriesFunction · 0.45

Calls 1

CurrentLoadMethod · 0.80

Tested by 2

TestRunningQueriesFunction · 0.36