discard

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func After

After discards a job if it is already stale.

func InvalidPayload

func InvalidPayload(f work.HandleFunc) work.HandleFunc

InvalidPayload discards a job if it has decode error.

func MaxRetry added in v0.1.7

func MaxRetry(n int64) work.HandleMiddleware

MaxRetry discards a job if its retry count is over limit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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