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 2021/07/07 17:01:23 UTC

[GitHub] [nifi] markobean commented on a change in pull request #5192: NIFI-8195: add default connection settings to process group configura…

markobean commented on a change in pull request #5192:
URL: https://github.com/apache/nifi/pull/5192#discussion_r665553747



##########
File path: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/StandardFlowSynchronizer.java
##########
@@ -1197,9 +1197,15 @@ private void updateProcessGroup(final ProcessGroup group, final ProcessGroupDTO
             }
         }
 
-        group.setDefaultFlowFileExpiration(defaultFlowFileExpiration);
-        group.setDefaultBackPressureObjectThreshold(defaultBackPressureObjectThreshold);
-        group.setDefaultBackPressureDataSizeThreshold(defaultBackPressureDataSizeThreshold);
+        if (defaultFlowFileExpiration == null) {

Review comment:
       Yes, they should. I was moving too quickly and using the above flowFileOutboundPolicyName as an example.. but that is just setting defaults in case of null. 
   Fixed.




-- 
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