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

fix(core): Align concurrency and timeout defaults between instance and runner #12503

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Jan 8, 2025

Follow-up to #12496

@Env('N8N_RUNNERS_MAX_CONCURRENCY')
maxConcurrency: number = 5;
maxConcurrency: number = 10;
Copy link
Member

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?

Copy link
Contributor

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.

Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

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.

🚀

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Jan 8, 2025
Copy link
Contributor

github-actions bot commented Jan 8, 2025

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Jan 8, 2025

n8n    Run #8656

Run Properties:  status check passed Passed #8656  •  git commit 4d62b4757e: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
Project n8n
Branch Review align-concurrency-and-timeout-defaults-between-instance-and-runner
Run status status check passed Passed #8656
Run duration 04m 55s
Commit git commit 4d62b4757e: 🌳 🖥️ 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 489
View all changes introduced in this branch ↗︎

@ivov ivov merged commit 9953477 into master Jan 8, 2025
63 checks passed
@ivov ivov deleted the align-concurrency-and-timeout-defaults-between-instance-and-runner branch January 8, 2025 12:33
@github-actions github-actions bot mentioned this pull request Jan 8, 2025
@janober
Copy link
Member

janober commented Jan 9, 2025

Got released with n8n@1.74.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants