-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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: Upgrade typeorm to 0.3.x #5151
Conversation
37c123f
to
e38b2d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Tested Tags, workflows, user creation and update, running workflows, permissions, queue mode execution (trigger), webhooks, it all seems to be working fine.
What worries me is that now the find
-type operation can return null
instead of undefined
and this could lead to potential issues. I saw that you've covered tons of places, so if there is still something it's probably minimal.
Nice job, thanks for updating this!
* master: (38 commits) 📚 Add warning about latest version fix: Upgrade `jsonwebtoken` to address CVE-2022-23540 (#5116) refactor: Upgrade typeorm to 0.3.x (#5151) refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944) 📚 Update CHANGELOG.md and main package.json to 0.211.0 🔖 Release n8n@0.211.0 ⬆️ Set n8n-core@0.151.0, n8n-editor-ui@0.177.0, n8n-nodes-base@0.209.0 and n8n-workflow@0.133.0 on n8n 🔖 Release n8n-editor-ui@0.177.0 ⬆️ Set n8n-design-system@0.51.0 and n8n-workflow@0.133.0 on n8n-editor-ui 🔖 Release n8n-design-system@0.51.0 🔖 Release n8n-nodes-base@0.209.0 ⬆️ Set n8n-core@0.151.0 and n8n-workflow@0.133.0 on n8n-nodes-base 🔖 Release n8n-node-dev@0.90.0 ⬆️ Set n8n-core@0.151.0 and n8n-workflow@0.133.0 on n8n-node-dev 🔖 Release n8n-core@0.151.0 ⬆️ Set n8n-workflow@0.133.0 on n8n-core 🔖 Release n8n-workflow@0.133.0 fix(PayPal Trigger Node): Omit verification on sandbox env (#5150) fix(core): Throw error in UI on expression referencing missing node but do not fail execution (#5158) fix(Zoom Node): Add notice about deprecation of Zoom JWT app support (#5156) ... # Conflicts: # packages/editor-ui/src/constants.ts
Got released with |
When we upgrade typeorm in #5151, we switched from no pooling to a default pool-size of 10. This somehow significantly deteriorates the performance of queries when the application is under load.
Ticket: N8N-3904
DB tests: https://github.com/n8n-io/n8n/actions/runs/3909949464
E2E tests: https://github.com/n8n-io/n8n/actions/runs/3909952116