Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
764
func
(r *replica) load() uint32 {
765
var
reqs uint32
766
for
_, h :=
range
r.hosts {
767
reqs += h.CurrentLoad()
768
}
769
return
reqs
770
}
771
772
type
cluster
struct
{
773
name string
Callers
4
String
Method · 0.45
getReplica
Method · 0.45
TestRunningQueries
Function · 0.45
TestRunningQueriesConcurrent
Function · 0.45
Calls
1
CurrentLoad
Method · 0.80
Tested by
2
TestRunningQueries
Function · 0.36
TestRunningQueriesConcurrent
Function · 0.36