AuditOptions.pool property

Settings for the trail's own pool — its size, how long an idle connection is kept, timeouts. Omitted, pg's defaults apply.

Signature:

pool?: Omit<pg.PoolConfig, 'connectionString'>;

Remarks

The trail writes once per audited statement, so it wants about as many connections as the client it audits; pg's default of ten is more than a deliberately small data pool and doubles what one process holds.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.