Documentation
¶
Index ¶
Constants ¶
View Source
const MAX_BACKOFF_MSEC = 30000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backoff ¶
type Backoff struct {
// NewTimer is the function that acts like time.NewTimer().
// You can override this in unit tests.
NewTimer func(d time.Duration) *time.Timer
// LogLongerThan sets the minimum time of a single backoff interval
// before we mention it in the log.
LogLongerThan time.Duration
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.