Table of Contents

Class ConsulRetryOptions

Namespace
Steeltoe.Discovery.Consul.Discovery
Assembly
Steeltoe.Discovery.Consul.dll

Configuration values used for the retry feature

public class ConsulRetryOptions
Inheritance
ConsulRetryOptions
Inherited Members

Properties

Enabled

Gets or sets a value indicating whether retries are enabled, defaults false

public bool Enabled { get; set; }

Property Value

bool

InitialInterval

Gets or sets the initial interval to use during retrys, defaults 1000ms

public int InitialInterval { get; set; }

Property Value

int

MaxAttempts

Gets or sets the maximum number of retrys, default 6

public int MaxAttempts { get; set; }

Property Value

int

MaxInterval

Gets or sets the maximum interval to use during retrys, defaults 2000ms

public int MaxInterval { get; set; }

Property Value

int

Multiplier

Gets or sets the multiplier used when doing retrys, default 1.1

public double Multiplier { get; set; }

Property Value

double