0
0
Fork 0

Streaming: add development logging of database queries (#32945)

This commit is contained in:
Emelia Smith 2024-11-18 10:34:34 +01:00 committed by GitHub
parent 03ee08c2da
commit 9a46329fbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 34 additions and 2 deletions

View file

@ -101,7 +101,8 @@ const CHANNEL_NAMES = [
];
const startServer = async () => {
const pgPool = Database.getPool(Database.configFromEnv(process.env, environment));
const pgConfig = Database.configFromEnv(process.env, environment);
const pgPool = Database.getPool(pgConfig, environment, logger);
const metrics = setupMetrics(CHANNEL_NAMES, pgPool);