-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
fix(core): Align concurrency and timeout defaults between instance and runner #12503
fix(core): Align concurrency and timeout defaults between instance and runner #12503
Conversation
@Env('N8N_RUNNERS_MAX_CONCURRENCY') | ||
maxConcurrency: number = 5; | ||
maxConcurrency: number = 10; |
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.
what's the reason to define these a second time? could we delete these, and use TaskRunnersConfig
from the config package instead?
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.
Task runner and n8n are two separate executables. It feels a weird to share the same configuration between them, especially since the configuration items they use are not 1:1. What we could do is to extract the shared parts into its own class and share that between n8n and task runner.
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
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.
🚀
✅ All Cypress E2E specs passed |
n8n Run #8656
Run Properties:
|
Project |
n8n
|
Branch Review |
align-concurrency-and-timeout-defaults-between-instance-and-runner
|
Run status |
Passed #8656
|
Run duration | 04m 55s |
Commit |
4d62b4757e: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
|
Committer | Iván Ovejero |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
1
|
Pending |
0
|
Skipped |
0
|
Passing |
489
|
View all changes introduced in this branch ↗︎ |
Got released with |
Follow-up to #12496