Skip to content

Feature/adr database library#13

Merged
berkes merged 2 commits into
mainfrom
feature/adr-database-library
May 22, 2026
Merged

Feature/adr database library#13
berkes merged 2 commits into
mainfrom
feature/adr-database-library

Conversation

@berkes
Copy link
Copy Markdown
Contributor

@berkes berkes commented May 20, 2026

@ThomasKalverda Zoals afgesproken een "FYI" PR op ec-issuer.

Deze is vooral een ADR waarin ik de keuze voor de postgres lib beschrijf.

De bijbehorende changes in code zijn slechts slightly related. Het ADR beschrijft dat we uberhaupt psycopg gebruiken; terwijl we dat dus eigelijk al deden - maar dat niet gedocumenteerd was.

d10d6ce is dus meer slechts om aan te geven hoe het eindresultaat van een implementatie volgens deze ADR er uit zou kunnen zien.

berkes added 2 commits May 20, 2026 16:30
This allows the connection to be re-established if e.g. the database is
restarted.

- Migrate from psycopg2-binary to psycopg[binary] and psycopg-pool
- Replace direct psycopg2 connections with ConnectionPool in PostgreSQL
  adapters
- Update Dockerfile comment to reflect psycopg3 usage
- Initialize connection pool with min_size=1 and max_size=10
@berkes berkes requested a review from ThomasKalverda May 20, 2026 14:32
@berkes berkes self-assigned this May 20, 2026
@berkes berkes merged commit ecd1d8b into main May 22, 2026
3 checks passed
@berkes berkes deleted the feature/adr-database-library branch May 22, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants