-
Notifications
You must be signed in to change notification settings - Fork 10.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
feat(core): Separate concurrency limits for production and evaluation executions (no-changelog) #12387
feat(core): Separate concurrency limits for production and evaluation executions (no-changelog) #12387
Changes from 13 commits
1caf41a
3d63aa1
6576357
795b296
fc9be62
99e9d28
29603f2
ec4318a
1fe1664
b5625a0
ac54d34
37bd0aa
f47e45c
ffd5f00
a5ee240
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,12 @@ export const schema = { | |
default: -1, | ||
env: 'N8N_CONCURRENCY_PRODUCTION_LIMIT', | ||
}, | ||
evaluationLimit: { | ||
doc: 'Max evaluation executions allowed to run concurrently.', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's add the other details as well? They all apply. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was not sure about the queue mode here, as the concurrency control service is disabled when n8n is being run in 'queue' mode. Isn't some different way to limit concurrency applies in queue mode for workers? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In queue mode, concurrency control uses the exact same env but is delegated to Bull. |
||
format: Number, | ||
default: -1, | ||
env: 'N8N_CONCURRENCY_EVALUATION_LIMIT', | ||
burivuhster marked this conversation as resolved.
Show resolved
Hide resolved
|
||
}, | ||
}, | ||
|
||
// A Workflow times out and gets canceled after this time (seconds). | ||
|
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.
Worth optimizing this?