[
https://issues.apache.org/jira/browse/MINIFICPP-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gábor Gyimesi updated MINIFICPP-1222:
-------------------------------------
Fix Version/s: (was: 0.99.2)
> Rework engine queue for ExecutePythonProcessor
> ----------------------------------------------
>
> Key: MINIFICPP-1222
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1222
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Adam Hunyadi
> Assignee: Gábor Gyimesi
> Priority: Minor
> Fix For: 0.12.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> *Background:*
> The ExecutePythonProcessor is expected to have a limit on the maximal number
> of concurrent tasks it can run. This
> {{{color:#403294}{{max_concurrent_tasks}}{color}}} number is currently
> handled incorrectly, and the processor is able to run any number of tasks at
> the same time, but only {{{color:#403294}{{max_concurrent_tasks}}{color}}}
> script-engine is reused.
> *Proposal*:
> We should use {{{color:#403294}{{max_concurrent_tasks}}{color}}} as the size
> of script-engine pool for the processor and always use engines from this
> pool, wait otherwise.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)