How long a job stays on the server after reaching a terminal state.
Both values are milliseconds, and both are optional. The server's default applies for omitted fields.
Zizq.Retention.new!(completed: :timer.hours(24), dead: :timer.hours(24 * 7))
Summary
Functions
Build a retention policy from a keyword list or map.
Types
@type t() :: %Zizq.Retention{ completed: non_neg_integer() | nil, dead: non_neg_integer() | nil }