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:
458458
459459
460460# From the transactions spec, all the retryable writes errors plus
461- # WriteConcernTimedOut .
461+ # WriteConcernTimeout .
462462_UNKNOWN_COMMIT_ERROR_CODES : frozenset = _RETRYABLE_ERROR_CODES | frozenset (
463463 [
464- 64 , # WriteConcernTimedOut
464+ 64 , # WriteConcernTimeout
465465 50 , # MaxTimeMSExpired
466466 ]
467467)
Original file line number Diff line number Diff line change @@ -457,10 +457,10 @@ def _max_time_expired_error(exc: PyMongoError) -> bool:
457457
458458
459459# From the transactions spec, all the retryable writes errors plus
460- # WriteConcernTimedOut .
460+ # WriteConcernTimeout .
461461_UNKNOWN_COMMIT_ERROR_CODES : frozenset = _RETRYABLE_ERROR_CODES | frozenset (
462462 [
463- 64 , # WriteConcernTimedOut
463+ 64 , # WriteConcernTimeout
464464 50 , # MaxTimeMSExpired
465465 ]
466466)
You can’t perform that action at this time.
0 commit comments