Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3464

AutomaticWorkQueueImpl uses a DelayQueue to accept the tasks which is delayed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.1, 2.3.5
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: