Class ConsulRetryOptions
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
InitialInterval
Gets or sets the initial interval to use during retrys, defaults 1000ms
public int InitialInterval { get; set; }
Property Value
MaxAttempts
Gets or sets the maximum number of retrys, default 6
public int MaxAttempts { get; set; }
Property Value
MaxInterval
Gets or sets the maximum interval to use during retrys, defaults 2000ms
public int MaxInterval { get; set; }
Property Value
Multiplier
Gets or sets the multiplier used when doing retrys, default 1.1
public double Multiplier { get; set; }