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

refactor(core): Increase Postgres connection timeout to 20 seconds #10705

Merged
merged 4 commits into from
Sep 6, 2024

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Sep 6, 2024

Summary

The 1s default connection timeout for Postgres was chosen to encourage colocated DB + n8n server, but it turns out this default is too low.

Related Linear tickets, Github issues, and Community forum posts

https://n8nio.slack.com/archives/C035KBDA917/p1725607802538479

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@ivov ivov added the release/backport Changes that need to be backported to older releases. label Sep 6, 2024
tomi
tomi previously approved these changes Sep 6, 2024
Copy link
Contributor

@tomi tomi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Copy link

cypress bot commented Sep 6, 2024

n8n    Run #6766

Run Properties:  status check passed Passed #6766  •  git commit b574ea23b4: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
Project n8n
Branch Review pg-connection-timeout-20s
Run status status check passed Passed #6766
Run duration 04m 49s
Commit git commit b574ea23b4: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
Committer Iván Ovejero
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 424
View all changes introduced in this branch ↗︎

Copy link
Contributor

github-actions bot commented Sep 6, 2024

✅ All Cypress E2E specs passed

@ivov ivov merged commit ff73542 into master Sep 6, 2024
31 checks passed
@ivov ivov deleted the pg-connection-timeout-20s branch September 6, 2024 09:07
tomi added a commit that referenced this pull request Sep 6, 2024
@janober
Copy link
Member

janober commented Sep 6, 2024

Got released with [email protected]

riascho pushed a commit that referenced this pull request Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/backport Changes that need to be backported to older releases. Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants