Skip to content

Bound database pool waits and attach Vercel cleanup - #33

Draft
connortsui20 wants to merge 1 commit into
developfrom
ct/bench-pool-lifecycle
Draft

Bound database pool waits and attach Vercel cleanup#33
connortsui20 wants to merge 1 commit into
developfrom
ct/bench-pool-lifecycle

Conversation

@connortsui20

@connortsui20 connortsui20 commented Sep 8, 2026

Copy link
Copy Markdown
Member

Attaches the singleton pg pool to Vercel’s lifecycle hook and bounds connection and pool-slot waits to five seconds by default. Reduces the idle timeout to five seconds while preserving the 30-second statement timeout, TLS verification, and per-connection IAM tokens. Existing deployments with an idle-timeout override must lower it separately to benefit from prompt cleanup. Focused unit and Postgres tests, lint, formatting, and a production build pass, but local tests do not prove cleanup during Vercel suspension.

Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Vercel preview for 58205c2b591ee0a07bea5dda577791e46f5c499b: https://benchmarks-website-aazucgrof-vortex-data.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant