Jeff Storck created NIFI-2627:
---------------------------------

             Summary: StandardProcessSchedule starts two threadpools with the 
same name
                 Key: NIFI-2627
                 URL: https://issues.apache.org/jira/browse/NIFI-2627
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
    Affects Versions: 1.0.0
            Reporter: Jeff Storck
            Priority: Minor


The threadpools created by StandardProcessScheduler should have unique names.

{code:title=StandardProcessScheduler.java|borderStyle=solid}
    private final ScheduledExecutorService componentLifeCycleThreadPool = new 
FlowEngine(8, "StandardProcessScheduler", true);
    private final ScheduledExecutorService componentMonitoringThreadPool = new 
FlowEngine(8, "StandardProcessScheduler", true);
{code}

Proposed naming:
{code:title=StandardProcessScheduler.java|borderStyle=solid}
    private final ScheduledExecutorService componentLifeCycleThreadPool = new 
FlowEngine(8, "StandardProcessScheduler-Lifecycle", true);
    private final ScheduledExecutorService componentMonitoringThreadPool = new 
FlowEngine(8, "StandardProcessScheduler-Monitoring", true);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to