Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure timeouts for postgres connections in api #1713

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

sausage-todd
Copy link
Contributor

@sausage-todd sausage-todd commented Oct 17, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at dcc16d4

Added timeout settings to the database connection pool in backend/src/database/models/index.ts to prevent database hang-ups. The settings follow the pg module's best practices for PostgreSQL.

🤖 Generated by Copilot at dcc16d4

pg pool config
Avoid database hang-ups
Winter's frozen grip

Why

How

🤖 Generated by Copilot at dcc16d4

  • Add timeout settings to database connection pool (link)

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@sausage-todd sausage-todd merged commit e8a7556 into main Oct 17, 2023
9 checks passed
@sausage-todd sausage-todd deleted the api-postgres-timeouts branch October 17, 2023 14:41
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.

None yet

1 participant