Table of Contents

Class ExecuteLimiterOptions

Namespace
Tharga.MongoDB
Assembly
Tharga.MongoDB.dll
public record ExecuteLimiterOptions : IEquatable<ExecuteLimiterOptions>
Inheritance
ExecuteLimiterOptions
Implements
Inherited Members

Properties

Enabled

Enable or disable the execute limiter. When disabled, all database operations execute without any concurrency restriction. By default, the limiter is enabled.

public bool Enabled { get; set; }

Property Value

bool

MaxConcurrent

Maximum number of concurrent database operations allowed per connection pool. Excess operations are queued until a slot becomes available. When null (default), the limit is auto-detected from MaxConnectionPoolSize.

public int? MaxConcurrent { get; set; }

Property Value

int?