Skip to content

Commit

Permalink
feat: disable retryWrites for docdb compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Aletor93 authored Aug 20, 2024
1 parent 8eda625 commit 706e515
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public static void initialize () {
final String MONGO_URI = String.join("/", MONGO_HOST, MONGO_DB_NAME);
ConnectionString connectionString = new ConnectionString(
String.format(
"%s://%s%s?retryWrites=true&w=majority",
"%s://%s%s?retryWrites=false&w=majority",
MONGO_PROTOCOL,
userAtPassword,
MONGO_URI
Expand Down

0 comments on commit 706e515

Please sign in to comment.