You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2013/11/30 01:25:35 UTC

[jira] [Created] (CONNECTORS-823) Agents process checkAgents() would be improved if it took place in an interruptible background daemon thread

Karl Wright created CONNECTORS-823:
--------------------------------------

             Summary: Agents process checkAgents() would be improved if it took place in an interruptible background daemon thread
                 Key: CONNECTORS-823
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-823
             Project: ManifoldCF
          Issue Type: Improvement
          Components: Framework agents process
    Affects Versions: ManifoldCF 1.5
            Reporter: Karl Wright
            Assignee: Karl Wright
             Fix For: ManifoldCF 1.5


It's now challenging to shut down the agents process because the checkAgents() method is called directly from runAgents().  That means that there can be an extended period of time before the agents process realizes that it needs to shut down and acts accordingly.  It would be much better to run the checkAgents() code in a daemon thread that can be kicked with an interrupt and thus shut down quickly.




--
This message was sent by Atlassian JIRA
(v6.1#6144)