Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/go-redis
/ setLastDialError
Method
setLastDialError
internal/pool/pool.go:798–800 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
796
}
797
798
func
(p *ConnPool) setLastDialError(err error) {
799
p.lastDialError.Store(&lastDialErrorWrap{err: err})
800
}
801
802
func
(p *ConnPool) getLastDialError() error {
803
err, _ := p.lastDialError.Load().(*lastDialErrorWrap)
Callers
2
dialConn
Method · 0.95
tryDial
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected