From 2503b5e46e59b49f1d11921f64c428526bc31773 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 25 May 2026 08:33:09 +0300 Subject: [PATCH] Sync docs: Elixir 1.20.0-rc.6, updated Docker tags, busy_timeout --- docs/architecture.md | 2 +- docs/production-infrastructure.md | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/architecture.md b/docs/architecture.md index 54155c68..270ff124 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -21,7 +21,7 @@ Key capabilities: - Encrypted secret storage (Cloak) - Presto companion display (MicroPython, 4" IPS LCD, "Records on this day") -**Elixir 1.20.0-rc.5, Phoenix ~> 1.8, LiveView ~> 1.1, SQLite3** +**Elixir 1.20.0-rc.6, Phoenix ~> 1.8, LiveView ~> 1.1, SQLite3** --- diff --git a/docs/production-infrastructure.md b/docs/production-infrastructure.md index 1270b00d..5fef734f 100644 --- a/docs/production-infrastructure.md +++ b/docs/production-infrastructure.md @@ -28,9 +28,9 @@ push via GitHub Actions. The Docker image is a multi-stage build: -1. **Builder** — `hexpm/elixir:1.20.0-rc.5-erlang-28.5-debian-trixie-20260505-slim` with +1. **Builder** — `hexpm/elixir:1.20.0-rc.6-erlang-28.5-debian-trixie-20260518-slim` with Node.js 26, compiles deps, builds assets (`mix assets.deploy`), generates an OTP release. -2. **Runner** — `debian:trixie-20260505-slim` with minimal runtime deps (`libstdc++6`, +2. **Runner** — `debian:trixie-20260518-slim` with minimal runtime deps (`libstdc++6`, `openssl`, `libncurses6`, `ca-certificates`). Runs as unprivileged `nobody` user. Fluxon UI (licensed dependency) is fetched during build via Docker build secrets @@ -42,11 +42,11 @@ Fluxon UI (licensed dependency) is fetched during build via Docker build secrets Three separate SQLite databases, each managed by its own Ecto repo: -| Repo | Purpose | Cache size | Pool size | -| ----------------------------- | ---------------------------- | ---------- | ------------------------ | -| `MusicLibrary.Repo` | Application data | 128 MB | `$POOL_SIZE` (default 5) | -| `MusicLibrary.BackgroundRepo` | Oban job queue | 16 MB | `$POOL_SIZE` (default 5) | -| `MusicLibrary.TelemetryRepo` | Persistent telemetry metrics | 4 MB | 2 | +| Repo | Purpose | Cache size | Pool size | Busy timeout | +| ----------------------------- | ---------------------------- | ---------- | ------------------------ | ------------ | +| `MusicLibrary.Repo` | Application data | 128 MB | `$POOL_SIZE` (default 5) | 5,000 ms | +| `MusicLibrary.BackgroundRepo` | Oban job queue | 16 MB | `$POOL_SIZE` (default 5) | — | +| `MusicLibrary.TelemetryRepo` | Persistent telemetry metrics | 4 MB | 2 | — | All databases use incremental auto-vacuum. Paths are configured via environment variables (`DATABASE_PATH`, `BACKGROUND_DATABASE_PATH`, `TELEMETRY_DATABASE_PATH`).