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/12/09 21:00:07 UTC

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

     [ https://issues.apache.org/jira/browse/CONNECTORS-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright resolved CONNECTORS-823.
------------------------------------

    Resolution: Fixed

> 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.4#6159)