Skip to content

Comments

Enhance environment configuration and database connection handling#181

Merged
QSchlegel merged 1 commit intomainfrom
bug/loading-issue
Dec 12, 2025
Merged

Enhance environment configuration and database connection handling#181
QSchlegel merged 1 commit intomainfrom
bug/loading-issue

Conversation

@QSchlegel
Copy link
Collaborator

  • Implemented dynamic import for environment validation in next.config.js to avoid blocking initialization.
  • Updated prisma/schema.prisma to include a direct connection URL for Supabase, improving performance and connection management.
  • Modified src/env.js to add optional DIRECT_URL for environment variables.
  • Refactored db.ts to optimize Prisma client usage in serverless environments, ensuring connection reuse and graceful shutdown handling.

- Implemented dynamic import for environment validation in next.config.js to avoid blocking initialization.
- Updated prisma/schema.prisma to include a direct connection URL for Supabase, improving performance and connection management.
- Modified src/env.js to add optional DIRECT_URL for environment variables.
- Refactored db.ts to optimize Prisma client usage in serverless environments, ensuring connection reuse and graceful shutdown handling.
@vercel
Copy link

vercel bot commented Dec 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
multisig Ready Ready Preview Comment Dec 12, 2025 1:35pm

@QSchlegel QSchlegel merged commit 13317fd into main Dec 12, 2025
4 checks passed
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