diff --git a/core/api/src/services/mongodb/index.ts b/core/api/src/services/mongodb/index.ts index dbc8ee99df..c80a91cf08 100644 --- a/core/api/src/services/mongodb/index.ts +++ b/core/api/src/services/mongodb/index.ts @@ -37,14 +37,11 @@ const DEFAULT_MONGODB_OPTIONS: mongoose.ConnectOptions = { retryWrites: true, writeConcern: { w: "majority", // Wait for majority acknowledgment - j: true, // Wait for journal commit - wtimeout: 10000, // Write timeout }, retryReads: true, maxStalenessSeconds: 90, readPreference: "primaryPreferred", // Prefer primary but allow secondary reads - readConcern: { level: "majority" }, // Read from majority-committed data } as const export const ledgerAdmin = lazyLoadLedgerAdmin({