Lehel44 commented on a change in pull request #5111:
URL: https://github.com/apache/nifi/pull/5111#discussion_r644074264



##########
File path: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/FlowController.java
##########
@@ -311,7 +311,7 @@
     private final StandardFlowManager flowManager;
     private final RepositoryContextFactory repositoryContextFactory;
     private final RingBufferGarbageCollectionLog gcLog;
-    private final FlowEngine longRunningTaskMonitorThreadPool;
+    private final Optional<FlowEngine> longRunningTaskMonitorThreadPool;

Review comment:
       Although Optional is not meant to be used as a field type, this class is 
so voluminous that it makes sense to mark it here in case it won't be 
serialized at any time.
   




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

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


Reply via email to