[
https://issues.apache.org/jira/browse/MINIFICPP-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aldrin Piri resolved MINIFICPP-1064.
------------------------------------
Resolution: Invalid
> Provide a bored yield duration for timer driven scheduling
> ----------------------------------------------------------
>
> Key: MINIFICPP-1064
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1064
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Aldrin Piri
> Priority: Major
>
> Currently when a processor is scheduled with a zero scheduling period it will
> be scheduled repeatedly. While this is literally what is requested, it can
> be problematic when there is no work to be done. NiFi remedies this by
> incorporating a bored yield period (defaulting to 10ms) which helps to dampen
> the effects of a processor with no work to do. See
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/scheduling/TimerDrivenSchedulingAgent.java#L56
--
This message was sent by Atlassian Jira
(v8.3.4#803005)