Skip to content

Commit 40d8ff6

Browse files
committed
Revert "PYTHON-5536 Avoid clearing the connection pool when the server connection rate limiter triggers (#2509)"
This reverts commit a99645e.
1 parent 1060137 commit 40d8ff6

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

test/connection_logging/connection-logging.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,7 @@
331331
"uriOptions": {
332332
"retryReads": false,
333333
"appname": "clientAppName",
334-
"heartbeatFrequencyMS": 10000,
335-
"socketTimeoutMS": 500,
336-
"connectTimeoutMS": 500
334+
"heartbeatFrequencyMS": 10000
337335
},
338336
"observeLogMessages": {
339337
"connection": "debug"
@@ -357,9 +355,7 @@
357355
"failCommands": [
358356
"saslContinue"
359357
],
360-
"closeConnection": false,
361-
"blockConnection": true,
362-
"blockTimeMS": 1000,
358+
"closeConnection": true,
363359
"appName": "clientAppName"
364360
}
365361
}

test/discovery_and_monitoring/unified/auth-network-error.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@
5353
"failCommands": [
5454
"saslContinue"
5555
],
56-
"closeConnection": false,
57-
"blockConnection": true,
58-
"blockTimeMS": 1000,
56+
"closeConnection": true,
5957
"appName": "authNetworkErrorTest"
6058
}
6159
}
@@ -77,8 +75,6 @@
7775
],
7876
"uriOptions": {
7977
"retryWrites": false,
80-
"socketTimeoutMS": 500,
81-
"connectTimeoutMS": 500,
8278
"appname": "authNetworkErrorTest"
8379
}
8480
}

0 commit comments

Comments
 (0)