feat: Add support for MongoDB driver options serverSelectionTimeoutMS, maxIdleTimeMS, heartbeatFrequencyMS (#9910)

This commit is contained in:
Manuel
2025-11-07 20:11:12 +01:00
committed by GitHub
parent d5e7d6e0f6
commit 1b661e98c8
5 changed files with 33 additions and 0 deletions

View File

@@ -234,6 +234,9 @@ export interface DatabaseOptions {
maxStalenessSeconds?: number;
minPoolSize?: number;
maxPoolSize?: number;
serverSelectionTimeoutMS?: number;
maxIdleTimeMS?: number;
heartbeatFrequencyMS?: number;
connectTimeoutMS?: number;
socketTimeoutMS?: number;
autoSelectFamily?: boolean;