[
https://issues.apache.org/jira/browse/MINIFICPP-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gábor Gyimesi resolved MINIFICPP-1222.
--------------------------------------
Fix Version/s: 0.12.0
Resolution: Fixed
> 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: 1.0.0, 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.1#820001)