You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Matt Gilman (JIRA)" <ji...@apache.org> on 2015/03/23 20:15:53 UTC
[jira] [Commented] (NIFI-408) Root Group Ports yield for too long
[ https://issues.apache.org/jira/browse/NIFI-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14376424#comment-14376424 ]
Matt Gilman commented on NIFI-408:
----------------------------------
+1
> Root Group Ports yield for too long
> -----------------------------------
>
> Key: NIFI-408
> URL: https://issues.apache.org/jira/browse/NIFI-408
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Fix For: 0.1.0
>
> Attachments: 0001-NIFI-408-Instead-of-yielding-for-100-milliseconds-wh.patch
>
>
> Currently if a root group has no connections waiting to be serviced, it yields for 100 milliseconds. It should instead yield for the "bored" duration, and rather than calling poll() and checking for null to determine that it has no work, it should call poll(10, TimeUnit.MILLISECONDS) or something like that so that it is no too aggressive in yielding
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)