| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Arbiter.Core.Job.Dedup
Contents
Description
Deduplication strategy carried by a job at enqueue.
Documentation
Deduplication strategy, checked on INSERT via ON CONFLICT on the dedup key.
Constructors
| IgnoreDuplicate Text | Skip if the main queue table holds a job with this key ( |
| ReplaceDuplicate Text | Replace the main queue table's job with this key ( |
Instances
Internal
Internal to the arbiter packages. Not covered by the PVP.
dedupParts :: Maybe DedupKey -> (Maybe Text, Maybe Text)Source #
The dedup_key and dedup_strategy column values for a DedupKey.
dedupFromParts :: Maybe Text -> Maybe Text -> Maybe DedupKeySource #
The inverse of dedupParts. An unknown or absent strategy reads as ignore.