Browse Source

fix(syncing-server): DocumentDB retry writes support (#703)

* fix(syncing-server): DocumentDB retry writes support

* fix: auth source for mongo
Karol Sójko 1 year ago
parent
commit
15a7f0e71a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/syncing-server/src/Bootstrap/DataSource.ts

+ 1 - 0
packages/syncing-server/src/Bootstrap/DataSource.ts

@@ -58,6 +58,7 @@ export class AppDataSource {
       password: this.env.get('MONGO_PASSWORD', true),
       password: this.env.get('MONGO_PASSWORD', true),
       database: this.env.get('MONGO_DATABASE'),
       database: this.env.get('MONGO_DATABASE'),
       entities: [MongoDBItem],
       entities: [MongoDBItem],
+      retryWrites: false,
       synchronize: true,
       synchronize: true,
     })
     })