| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Arbiter.Core.Job.DLQ
Description
Dead-letter queue types. Arbiter moves jobs here after a permanent failure or the last retry.
Recover a job with retryFromDLQ or delete it with
deleteDLQJob.
Synopsis
- data DLQJob payload = DLQJob {
- dlqPrimaryKey :: Int64
- failedAt :: UTCTime
- jobSnapshot :: JobSnapshot payload
- type JobSnapshot payload = JobRead payload
Documentation
A job in the dead-letter queue.
Constructors
| DLQJob | |
Fields
| |
Instances
type JobSnapshot payload = JobRead payloadSource #
Full job state when the job left the main queue.