Class MongoDbPoolingOptions
Connection pooling options for the MongoDB provider.
public sealed class MongoDbPoolingOptions
- Inheritance
-
MongoDbPoolingOptions
- Inherited Members
Properties
MaxPoolSize
Gets or sets the maximum connection pool size.
[Range(1, 2147483647)]
public int MaxPoolSize { get; set; }
Property Value
- int
The maximum connection pool size. Defaults to 100.
MinPoolSize
Gets or sets the minimum connection pool size.
[Range(0, 2147483647)]
public int MinPoolSize { get; set; }
Property Value
- int
The minimum connection pool size. Defaults to 0.