Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1604

stateless eviction thread count should be configurable and not 1 by stateless bean pool

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0-M1
    • Component/s: None
    • Labels:
      None

      Description

      Issue: as much as stateless bean "org.apache.openejb.scheduler" threads. This means if you have 500 Stateless then you'll get 500 eviction threads.

      This task implies 2 new configuration entries for the stateless container:

      • EvictionThreads: max number of threads for stateless eviction (default 1)
      • UseOneSchedulerThreadByBean: should the previous behavior be used - ie 1 thread by pool (default false)

        Attachments

          Activity

            People

            • Assignee:
              romain.manni-bucau Romain Manni-Bucau
              Reporter:
              romain.manni-bucau Romain Manni-Bucau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: