fix: adopt rotated database leases
All checks were successful
Build and Publish Container Image / build-and-push (push) Successful in 38s
All checks were successful
Build and Publish Container Image / build-and-push (push) Successful in 38s
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a02b22-9638-76d2-bbff-b7ea1770b118
This commit is contained in:
parent
af57be58fb
commit
9751927d38
7 changed files with 175 additions and 4 deletions
|
|
@ -22,10 +22,14 @@ SQLite through `SBOM_NEXUS_DATABASE_PATH`; production uses
|
|||
`SBOM_NEXUS_DATABASE_URL_FILE=/var/run/secrets/.../url` and `make migrate`.
|
||||
The direct `SBOM_NEXUS_DATABASE_URL` variable remains available for disposable
|
||||
development environments; mounted secret files are preferred for production.
|
||||
The runtime rereads the mounted file for every new database connection and
|
||||
recycles pooled connections every 300 seconds by default, configurable with
|
||||
`SBOM_NEXUS_DATABASE_POOL_RECYCLE_SECONDS`.
|
||||
|
||||
## Initial API surface
|
||||
|
||||
- `GET /state/health`
|
||||
- `GET /state/live`
|
||||
- `PUT /repositories/{repo_slug}`
|
||||
- `GET /sbom/catch-up?limit=3`
|
||||
- `POST /sbom/{repo_slug}/ingest`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue