Karta. Webhooks. Pruner
(Karta v1.0.0)
Removes webhook events older than retention_days (config :karta, Karta.Webhooks, default 30), with their deliveries and attempts, in
batches of 10,000; an event with a delivery still pending stays until it
is done. It runs as an Oban cron job every night, on one node.
Summary
Functions
Removes what is older than the retention at now (option; default the
clock's); returns how many events. Option batch (default 10,000).
Functions
@spec prune(keyword()) :: non_neg_integer()
Removes what is older than the retention at now (option; default the
clock's); returns how many events. Option batch (default 10,000).