diff options
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); |
