feat(infra): add TTL cleanup worker for append-only tables
CI / test (push) Failing after 5m58s
CI / deploy-ift (push) Has been skipped
CI / e2e-ift (push) Has been skipped
CI / deploy-stage (push) Has been skipped
CI / e2e-stage (push) Has been skipped

Periodically prune old read notifications, revoked/expired auth sessions,
and admin_audit in chunked transactions; wire under eventhub config.
This commit is contained in:
2026-08-03 22:57:41 +03:00
parent 774f58f9ed
commit 6c0775ee5e
5 changed files with 348 additions and 3 deletions
+8 -2
View File
@@ -56,6 +56,12 @@ init([]) ->
restart => permanent,
shutdown => 5000,
type => worker,
modules => [subscription_worker]}
modules => [subscription_worker]},
#{id => infra_cleanup,
start => {infra_cleanup, start_link, []},
restart => permanent,
shutdown => 5000,
type => worker,
modules => [infra_cleanup]}
],
{ok, {SupFlags, Children}}.
{ok, {SupFlags, Children}}.