Documentation
¶
Overview ¶
Command mere-maintenance sweeps expired oauth_codes, oauth_access_tokens, and sessions rows out of Postgres. It is a one-shot binary intended for invocation via host cron / Kamal scheduled task — not a long-running daemon. Failure surfaces via a non-zero exit code; success logs a single JSON line summarising per-table counts.
The binary reuses internal/config so it picks up the same Postgres connection settings as cmd/server; ClickHouse + OAuth issuer vars must be present in the environment but are unused. In the production Kamal container they are already set, so this is invisible.
Click to show internal directories.
Click to hide internal directories.