You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2022/11/15 22:01:29 UTC

[GitHub] [nifi] thenatog commented on a diff in pull request #6638: NIFI-10703 - Updated VersionedDataflow to support MaxEventDrivenThrea…

thenatog commented on code in PR #6638:
URL: https://github.com/apache/nifi/pull/6638#discussion_r1023300403


##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/serialization/VersionedFlowSynchronizer.java:
##########
@@ -378,6 +378,7 @@ private void synchronizeFlow(final FlowController controller, final DataFlow exi
 
             if (versionedFlow != null) {
                 controller.setMaxTimerDrivenThreadCount(versionedFlow.getMaxTimerDrivenThreadCount());
+                controller.setMaxEventDrivenThreadCount(versionedFlow.getMaxTimerDrivenThreadCount());

Review Comment:
   I updated and set the maxEventDrivenThreadCount = 1 in the VersionedDataflow. Wasn't sure if this was hacky or if there's a better place to set that default.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org