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
+3 -1
View File
@@ -5,7 +5,9 @@
{admin_http_port, "${ADMIN_HTTP_PORT:-8445}"},
{admin_ws_port, "${ADMIN_WS_PORT:-8446}"},
{jwt_secret, <<"${JWT_SECRET:-change_me_in_production}">>},
{admin_jwt_secret, <<"${ADMIN_JWT_SECRET:-change_me_in_production}">>}
{admin_jwt_secret, <<"${ADMIN_JWT_SECRET:-change_me_in_production}">>},
%% Interval between TTL cleanup runs (infra_cleanup), default 1 hour
{cleanup_interval_ms, 3600000}
]},
{kernel, [
{logger_level, info},