Skip to content

Commit

Permalink
fix: add retryWrites to MongoConnectionOptions (#8354)
Browse files Browse the repository at this point in the history
Add `retryWrites` property to `MongoConnectionOptions` to match change
to `MongoDriver` made in #7869.
  • Loading branch information
ahilke committed Nov 13, 2021
1 parent 98d5f39 commit c895680
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/driver/mongodb/MongoConnectionOptions.ts
Expand Up @@ -343,4 +343,9 @@ export interface MongoConnectionOptions extends BaseConnectionOptions {
* Automatic Client-Side Field Level Encryption configuration.
*/
readonly autoEncryption?: any;

/**
* Enables or disables the ability to retry writes upon encountering transient network errors.
*/
readonly retryWrites?: boolean;
}

0 comments on commit c895680

Please sign in to comment.