The application identifier (Postgres schema name).
OptionalattributesIf true, strips execution-artifact attributes from completed,
un-pruned jobs. Preserves jdata (return data), udata
(searchable data), and jmark (timeline/event history for
workflow execution export). See keepHmark for hmark.
Postgres connection configuration. Uses the same format as all other HotMesh services.
OptionalengineOverride for engine_streams cleanup. When set, takes precedence
over streams for the engine table. Engine streams contain internal
routing messages and can be pruned aggressively.
OptionalengineRetention override for engine_streams. When set, uses this interval
instead of the global expire for engine stream cleanup.
OptionalentitiesEntity allowlist. When provided, only jobs whose entity column
matches one of these values are eligible for pruning/stripping.
Jobs with entity IS NULL are excluded unless pruneTransient
is also true.
OptionalexpireRetention period for expired rows. Rows with expired_at older
than this interval are hard-deleted. Uses Postgres interval syntax.
OptionaljobsIf true, hard-deletes expired jobs older than the retention window.
FK CASCADE on jobs_attributes automatically removes associated
attribute rows. When entities is set, only matching jobs are deleted.
OptionalkeepIf true, hmark attributes are preserved during stripping
(along with jdata, udata, and jmark). If false, hmark
rows are stripped.
OptionalpruneIf true, hard-deletes expired jobs where entity IS NULL
(transient workflow runs). Must also satisfy the retention
window (expire).
OptionalstreamsIf true, hard-deletes expired stream messages older than the
retention window from both engine_streams and worker_streams.
Use engineStreams / workerStreams for independent control.
OptionalworkerOverride for worker_streams cleanup. When set, takes precedence
over streams for the worker table. Worker streams contain workflow
input arguments and activity payloads needed by the exporter — use
a longer retention to preserve export fidelity.
OptionalworkerRetention override for worker_streams. When set, uses this interval
instead of the global expire for worker stream cleanup.
Options for
DBA.prune().