Skip to content

Commit

Permalink
fix (#1118)
Browse files Browse the repository at this point in the history
  • Loading branch information
ukrocks007 authored Nov 10, 2023
1 parent 12bc923 commit 73724c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/persistence/pg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function getPgPool(): pg.Pool {
host: config.POSTGRES_HOST,
port: Number(config.POSTGRES_PORT),
max: Number(config.POSTGRES_POOL_SIZE) || 20,
ssl: config.POSTGRES_SSL || false,
ssl: config.POSTGRES_SSL ? true : false,
idleTimeoutMillis: Number(config.PUBLISHER_CREATE_EVENT_TIMEOUT) || 2000, // how long a client is allowed to remain idle before being closed
});

Expand Down

0 comments on commit 73724c4

Please sign in to comment.