Maintenance policy returned for an Absurd queue.
Interval fields remain PostgreSQL interval strings, matching the official TypeScript and Go SDK surface without exposing driver-specific interval structs.
Summary
Types
The maintenance detach behavior of a queue.
The table-storage mode of a queue.
A queue's persisted maintenance policy.
Types
@type detach_mode() :: :none | :empty
The maintenance detach behavior of a queue.
@type storage_mode() :: :unpartitioned | :partitioned
The table-storage mode of a queue.
@type t() :: %Absurd.QueuePolicy{ cleanup_limit: pos_integer(), cleanup_ttl: String.t(), detach_min_age: String.t(), detach_mode: detach_mode(), partition_lookahead: String.t(), partition_lookback: String.t(), queue_name: String.t(), storage_mode: storage_mode() }
A queue's persisted maintenance policy.