Documentation ¶
Index ¶
Constants ¶
View Source
const ( JobStatusNew = "new" JobStatusProcessed = "processed" JobStatusFailed = "failed" )
Variables ¶
View Source
var JobCtxVarKey contextKey
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/non underscore characters from a string and returns a new one
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.