MCPcopy
hub / github.com/fagongzi/manba / MaxQPS

Method MaxQPS

pkg/client/server.go:78–81  ·  view source on GitHub ↗

MaxQPS set max qps

(max int64)

Source from the content-addressed store, hash-verified

76
77// MaxQPS set max qps
78func (sb *ServerBuilder) MaxQPS(max int64) *ServerBuilder {
79 sb.value.MaxQPS = max
80 return sb
81}
82
83// Weight set robin weight
84func (sb *ServerBuilder) Weight(weight int64) *ServerBuilder {

Callers 2

updateServerFunction · 0.95
createServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected