From c83cbdaf740d3edd5656dade6f8cb6c4da928fd2 Mon Sep 17 00:00:00 2001 From: mdwitr0 Date: Thu, 4 Apr 2024 13:36:04 +0200 Subject: [PATCH] perf: add read reference --- src/common/configs/mongo.config.ts | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/common/configs/mongo.config.ts diff --git a/src/common/configs/mongo.config.ts b/src/common/configs/mongo.config.ts new file mode 100644 index 0000000..1e1454e --- /dev/null +++ b/src/common/configs/mongo.config.ts @@ -0,0 +1 @@ +export const READ_PREFERENCE = ' secondaryPreferred';