We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ac5a1e commit f490802Copy full SHA for f490802
x/mongo/driver/topology/rtt_monitor.go
@@ -119,7 +119,7 @@ func (r *rttMonitor) start() {
119
defer ticker.Stop()
120
121
for {
122
- conn := r.cfg.createConnectionFn()
+ conn = r.cfg.createConnectionFn()
123
err := conn.connect(r.ctx)
124
125
// Add an RTT sample from the new connection handshake and start a runHellos() loop if we
0 commit comments