diff options
| author | Arne Rief <riearn@proton.me> | 2026-02-13 21:04:35 +0100 |
|---|---|---|
| committer | Arne Rief <riearn@proton.me> | 2026-02-13 21:04:35 +0100 |
| commit | 50c0b1e5650bd1e8bc853d9a5520067d37860673 (patch) | |
| tree | 314b10bcaa9da224e16e1fbaa9b753db236466c7 /backend/src/database/postgres.ts | |
| parent | 44b0ea903dd35bae26aa5a167a2a04f157f5f53b (diff) | |
Better caching during simulation
Diffstat (limited to 'backend/src/database/postgres.ts')
| -rw-r--r-- | backend/src/database/postgres.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/database/postgres.ts b/backend/src/database/postgres.ts index 6f6b682..e2493a9 100644 --- a/backend/src/database/postgres.ts +++ b/backend/src/database/postgres.ts @@ -8,7 +8,7 @@ const pool = new Pool({ port: process.env.DB_PORT ? parseInt(process.env.DB_PORT) : 5432, }); -/* Too strict for Docker: +/* Too strict for Docker, use docker compose healthcheck instead: pool.connect((error, _client, release) => { if (error) { console.error("Verbindung zur Datenbank fehlgeschlagen: ", error); |
