Skip to content

Commit 7868ac5

Browse files
committed
test without new changes
1 parent 829453e commit 7868ac5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pymongo/asynchronous/pool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,8 +1030,8 @@ def _handle_connection_error(self, error: BaseException, phase: str, conn_id: in
10301030
# If found, add error labels.
10311031
if self.is_sdam or type(error) != AutoReconnect:
10321032
return
1033-
error._add_error_label("SystemOverloadedError")
1034-
error._add_error_label("RetryableError")
1033+
# error._add_error_label("SystemOverloadedError")
1034+
# error._add_error_label("RetryableError")
10351035

10361036
async def connect(self, handler: Optional[_MongoClientErrorHandler] = None) -> AsyncConnection:
10371037
"""Connect to Mongo and return a new AsyncConnection.

pymongo/synchronous/pool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,8 +1026,8 @@ def _handle_connection_error(self, error: BaseException, phase: str, conn_id: in
10261026
# If found, add error labels.
10271027
if self.is_sdam or type(error) != AutoReconnect:
10281028
return
1029-
error._add_error_label("SystemOverloadedError")
1030-
error._add_error_label("RetryableError")
1029+
# error._add_error_label("SystemOverloadedError")
1030+
# error._add_error_label("RetryableError")
10311031

10321032
def connect(self, handler: Optional[_MongoClientErrorHandler] = None) -> Connection:
10331033
"""Connect to Mongo and return a new Connection.

0 commit comments

Comments
 (0)