We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5600af9 commit 29a4cd6Copy full SHA for 29a4cd6
lib/topologies/native_topology.js
@@ -15,7 +15,8 @@ class NativeTopology extends Topology {
15
cursorFactory: Cursor,
16
reconnect: false,
17
emitError: typeof options.emitError === 'boolean' ? options.emitError : true,
18
- size: typeof options.poolSize === 'number' ? options.poolSize : 5,
+ maxPoolSize: typeof options.poolSize === 'number' ? options.poolSize : 5,
19
+ minPoolSize: typeof options.minSize === 'number' ? options.minSize : 0,
20
monitorCommands:
21
typeof options.monitorCommands === 'boolean' ? options.monitorCommands : false
22
}
0 commit comments