Skip to content

Commit 761c97d

Browse files
author
Divjot Arora
committed
update error msg
1 parent 043ef08 commit 761c97d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/mongo/driver/topology/errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func (w WaitQueueTimeoutError) Error() string {
7777

7878
errorMsg = fmt.Sprintf("%s; maxPoolSize: %d, connections in use by cursors: %d, connections in use by transactions: %d",
7979
errorMsg, w.maxPoolSize, w.PinnedCursorConnections, w.PinnedTransactionConnections)
80-
return fmt.Sprintf("%s, connections in use by regular operations: %d", errorMsg,
80+
return fmt.Sprintf("%s, connections in use by other operations: %d", errorMsg,
8181
w.maxPoolSize-(w.PinnedCursorConnections+w.PinnedTransactionConnections))
8282
}
8383

0 commit comments

Comments
 (0)