MCPcopy
hub / github.com/bradfitz/gomemcache / release

Method release

memcache/memcache.go:195–197  ·  view source on GitHub ↗

release returns this connection back to the client's free pool

()

Source from the content-addressed store, hash-verified

193
194// release returns this connection back to the client's free pool
195func (cn *conn) release() {
196 cn.c.putFreeConn(cn.addr, cn)
197}
198
199func (cn *conn) extendDeadline() {
200 cn.nc.SetDeadline(time.Now().Add(cn.c.netTimeout()))

Callers 1

condReleaseMethod · 0.95

Calls 1

putFreeConnMethod · 0.80

Tested by

no test coverage detected