MCPcopy Index your code
hub / github.com/CodisLabs/codis / KeepAlive

Method KeepAlive

pkg/proxy/backend.go:450–459  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

448}
449
450func (s *sharedBackendConn) KeepAlive() {
451 if s == nil {
452 return
453 }
454 for _, parallel := range s.conns {
455 for _, bc := range parallel {
456 bc.KeepAlive()
457 }
458 }
459}
460
461func (s *sharedBackendConn) BackendConn(database int32, seed uint, must bool) *BackendConn {
462 if s == nil {

Callers

nothing calls this directly

Calls 1

KeepAliveMethod · 0.45

Tested by

no test coverage detected