Discover Packages
github.com/go-god/broker
backoff
package
Version:
v1.3.8
Opens a new window with list of versions in this module.
Published: Sep 7, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package backoff provides backoff functionality
Do is a function x^e multiplied by a factor of 0.1 second.
Result is limited to 2 minute.
Original source: github.com/micro/go-micro/v3/util/backoff/backoff.go
Sleep where no data to sleep rnd * 2 + sec time.Duration
Source Files
¶
Click to show internal directories.
Click to hide internal directories.