File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -458,10 +458,10 @@ def _max_time_expired_error(exc: PyMongoError) -> bool:
458
458
459
459
460
460
# From the transactions spec, all the retryable writes errors plus
461
- # WriteConcernTimedOut .
461
+ # WriteConcernTimeout .
462
462
_UNKNOWN_COMMIT_ERROR_CODES : frozenset = _RETRYABLE_ERROR_CODES | frozenset (
463
463
[
464
- 64 , # WriteConcernTimedOut
464
+ 64 , # WriteConcernTimeout
465
465
50 , # MaxTimeMSExpired
466
466
]
467
467
)
Original file line number Diff line number Diff line change @@ -457,10 +457,10 @@ def _max_time_expired_error(exc: PyMongoError) -> bool:
457
457
458
458
459
459
# From the transactions spec, all the retryable writes errors plus
460
- # WriteConcernTimedOut .
460
+ # WriteConcernTimeout .
461
461
_UNKNOWN_COMMIT_ERROR_CODES : frozenset = _RETRYABLE_ERROR_CODES | frozenset (
462
462
[
463
- 64 , # WriteConcernTimedOut
463
+ 64 , # WriteConcernTimeout
464
464
50 , # MaxTimeMSExpired
465
465
]
466
466
)
You can’t perform that action at this time.
0 commit comments