[Feature Request] Allow configurable Parallel Block concurrency limit beyond 20
Feature Request: Increase or remove the hard cap on Parallel Block batch size (currently limited to 20) Current Behavior The Parallel Block currently enforces a maximum batch size of 20 concurrent executions. When the number of items exceeds this limit, the block automatically falls back to serial batching — processing 20 at a time and waiting for each batch to complete before starting the next. Problem This hard cap of 20 is unnecessarily restrictive for use cases that do not involve LLM calls or external API rate limits. For example:
- Processing 50–100 items through pure compute tasks (data transformation, formatting, rule-based routing, math operations)
- Nested Parallel Blocks (Parallel inside Parallel) where the outer block fans out to N branches and each inner block also runs M tasks concurrently — the 20-limit applies at every level independently, causing compounding serial batching even when no rate-limited resources are involved
- Workflows where all parallel tasks are self-contained Function blocks with zero external I/O
In these scenarios, the 20-item cap forces unnecessary sequential waiting, increasing total execution time without any technical justification. Proposed Solution Please consider one or more of the following approaches:
- Raise the default cap from 20 to at least 50 or 100
- Allow user-configurable concurrency limit — let users set their own maxConcurrency value per Parallel Block (e.g. 1–200), so they can tune it based on their actual workload and resource constraints
- Distinguish between LLM and non-LLM tasks — apply a conservative default only when the inner blocks contain Agent/LLM nodes, and use a higher (or unlimited) default for pure compute tasks Use Case Example With a fixed cap of 20, this degrades into multiple serial batches even though the hardware and platform have no real constraint preventing full concurrency. Expected Behavior Users should be able to configure maxConcurrency freely per Parallel Block, or at minimum have a significantly higher ceiling (50–100), so that non-LLM parallel workloads can execute at full speed without artificial bottlenecks. Why This Matters Workflow automation platforms derive much of their value from true parallelism. Capping concurrency at 20 — regardless of workload type — undermines this core value proposition for power users who need high-throughput, non-LLM parallel processing. Thank you for considering this improvement!
Lotteries, sports betting, poker, and slot machines each attract distinct players, while an ethereum casino now offers crypto enthusiasts a modern, borderless alternative for wagering entertainment worldwide.
I’d be interested in working on this. My initial thought is to make the Parallel block concurrency configurable while keeping the current limit as the default for backward compatibility. Would that direction be acceptable, or do you have a preferred cap/approach?
Hi @maintainers, I'd like to work on this!
To keep things backward-compatible while giving users flexibility, I propose implementing Approach 2 (configurable concurrency limit):
Block Configuration / Schema: Add an optional maxConcurrency numeric field to the Parallel Block properties (defaulting to 20, clamped between 1 and 100 or 200 to prevent unintended resource exhaustion). UI / Inspector: Expose this as an input field in the Parallel Block settings panel with a sensible placeholder and tooltip. Execution Engine: Update the batching / concurrency runner to consume the configured maxConcurrency rather than the hardcoded 20.
Does this approach look good to you? If so, please assign this issue to me and I will open a PR with the implementation and tests. Thanks!