瀏覽代碼

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

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

* fix: auth source for mongo
Karol Sójko 1 年之前
父節點
當前提交
15a7f0e71a
共有 1 個文件被更改,包括 1 次插入0 次删除
  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),
       database: this.env.get('MONGO_DATABASE'),
       entities: [MongoDBItem],
+      retryWrites: false,
       synchronize: true,
     })