You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2011/04/20 15:18:05 UTC

[jira] [Resolved] (CXF-3464) AutomaticWorkQueueImpl uses a DelayQueue to accept the tasks which is delayed

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

Willem Jiang resolved CXF-3464.
-------------------------------

    Resolution: Fixed

Committed the patch into trunk and 2.3.x-fixes branch.

> AutomaticWorkQueueImpl  uses a DelayQueue to accept the tasks which is delayed
> ------------------------------------------------------------------------------
>
>                 Key: CXF-3464
>                 URL: https://issues.apache.org/jira/browse/CXF-3464
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.4.1, 2.3.5
>
>
> Current AutomaticWorkQueueImpl just use the Thread.sleep to take the tasks that is delayed, it will eat up the thread pool if there are lots of delay tasks are scheduled at the same time. A DelayQueue could help us void this kind of issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira