View definition

const OptionMaxReconnectTime

Defined in


OptionMaxReconnectTime is the maximum value of the time between connection attempts, when an exponential backoff is used. If this value is zero, then exponential backoff is disabled, otherwise the value to wait between attempts is doubled until it hits this limit. This value is a time.Duration, with initial value 0. This option must be set before starting any dialers.