Skip to main content

ResilienceOptions

  • Namespace: PPDS.Dataverse.Resilience
  • Assembly: PPDS.Dataverse
  • Kind: Class

Summary

Configuration options for resilience and retry behavior.

Members

Properties

DefaultThrottleCooldown

TimeSpan DefaultThrottleCooldown { get; set; }

Gets or sets the default cooldown period when throttled (if not specified by server). Default: 5 minutes

EnableThrottleTracking

bool EnableThrottleTracking { get; set; }

Gets or sets a value indicating whether throttle tracking is enabled. Default: true

MaxRetryCount

int MaxRetryCount { get; set; }

Gets or sets the maximum retry attempts for transient failures. Default: 3

MaxRetryDelay

TimeSpan MaxRetryDelay { get; set; }

Gets or sets the maximum delay between retries. Default: 30 seconds

RetryDelay

TimeSpan RetryDelay { get; set; }

Gets or sets the base delay between retries. Default: 1 second

UseExponentialBackoff

bool UseExponentialBackoff { get; set; }

Gets or sets a value indicating whether to use exponential backoff for retries. Default: true