MCPcopy
hub / github.com/redis/go-redis / SetUsedAtNs

Method SetUsedAtNs

internal/pool/conn.go:190–192  ·  view source on GitHub ↗
(ns int64)

Source from the content-addressed store, hash-verified

188 return cn.usedAt.Load()
189}
190func (cn *Conn) SetUsedAtNs(ns int64) {
191 cn.usedAt.Store(ns)
192}
193
194func (cn *Conn) LastPutAtNs() int64 {
195 return cn.lastPutAt.Load()

Callers 2

deadlineMethod · 0.95
isHealthyConnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected