We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f7e330 commit 5214673Copy full SHA for 5214673
x/mongo/driver/topology/pool.go
@@ -171,9 +171,7 @@ func connectionPerished(conn *connection) (reason, bool) {
171
switch {
172
case conn.closed():
173
// A connection would only be closed if it encountered a network error
174
- // during an operation and closed itself. If a connection is not alive
175
- // (e.g. the connection was closed by the server-side), it's also
176
- // considered a network error.
+ // during an operation and closed itself.
177
return reason{
178
loggerConn: logger.ReasonConnClosedError,
179
event: event.ReasonError,
0 commit comments