Documentation ¶
Index ¶
Constants ¶
View Source
const ( JobStatusNew = "new" JobStatusProcessed = "processed" JobStatusFailed = "failed" )
Variables ¶
This section is empty.
Functions ¶
func CalculateBackoff ¶
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 StripNonAlphanum ¶
StripNonALphanum strips nonalphanumeric characters from a string and returns a new one TODO Replace `StripNonAlphanum` with strings.ReplaceAll
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.