circus/crates
NotAShelf 0e6d249e0f
common: initial database handling
Can be configured from the config file, and also using environment
options.

```toml
[database]
url = "postgresql://fc_ci:password@localhost/fc_ci"
max_connections = 20
min_connections = 5
connect_timeout = 30
idle_timeout = 600
max_lifetime = 1800
```

We'll want to support SQlite in the future, and better secret handling
for database credentials. For now, this is workable.

---

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I36b4c1306511052a2748ca9d5d3429366a6a6964
2026-02-02 01:15:01 +03:00
..
common common: initial database handling 2026-02-02 01:15:01 +03:00
evaluator initial commit 2026-02-02 01:14:56 +03:00
migrate-cli meta: add database migrations; set up migration CLI 2026-02-02 01:15:00 +03:00
queue-runner initial commit 2026-02-02 01:14:56 +03:00
server initial commit 2026-02-02 01:14:56 +03:00