Skip to content

Commit 526f5ed

Browse files
committed
🔧 Увеличен размер пула соединений MongoDB до 127; добавлены новые файлы для пайплайнов: index.ts и ruler.ts
1 parent f985851 commit 526f5ed

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

app/db/mongo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const connectMongo = async (url: string): Promise<Db> => {
1313
logger.info("Connecting to MongoDB", { service: "mongo", operation: "connect" });
1414

1515
await mongoose.connect(url, {
16-
maxPoolSize: 10,
16+
maxPoolSize: 127,
1717
minPoolSize: 2,
1818
timeoutMS: 1000,
1919
compressors: "none",

app/rep/mongo/pipelines/index.ts

Whitespace-only changes.

app/rep/mongo/pipelines/ruler.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)