queue

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateBackoff added in v0.7.0

func CalculateBackoff(retryCount uint) time.Time

CalculateBackoff calculates the number of seconds to back off before the next retry this formula is unabashedly taken from Sidekiq because it is good.

func RandInt added in v0.7.0

func RandInt(max int) int

RandInt returns a random integer up to max

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL