MCPcopy
hub / github.com/CodisLabs/codis / maxProxyId

Method maxProxyId

pkg/topom/context.go:299–304  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

297}
298
299func (ctx *context) maxProxyId() (maxId int) {
300 for _, p := range ctx.proxy {
301 maxId = math2.MaxInt(maxId, p.Id)
302 }
303 return maxId
304}

Callers 2

CreateProxyMethod · 0.80
OnlineProxyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected