queue

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 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