Time unification
This commit is contained in:
@@ -10,6 +10,9 @@ const dbConfig = {
|
||||
database: process.env.DB_NAME,
|
||||
port: process.env.DB_PORT || 5432,
|
||||
ssl: process.env.DB_SSL === 'true',
|
||||
// Pin the session timezone to business time (see docs/TIME.md) — the
|
||||
// metrics SQL window anchors (CURRENT_DATE etc.) must mean Chicago dates.
|
||||
options: '-c TimeZone=America/Chicago',
|
||||
// Add performance optimizations
|
||||
max: 10, // connection pool max size
|
||||
idleTimeoutMillis: 30000,
|
||||
|
||||
Reference in New Issue
Block a user