Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71980

There are too many job in queue, which makes using Jenkins.getInstance().getQueue().schedule2 take a long time.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • use jenkins docker images, and version is 2.361.4-lts-jdk11.

      There are too many job in queue,and Simultaneously trigger a large number of jobs, which makes using Jenkins.getInstance().getQueue().schedule2 take a long time. When i see the code in hudson.model.Queue.schedule2 and scheduleInternal, and i find the lock That is ReentrantLock is used in three times. Is there a better way to optimize hudson.model.Queue.schedule2 to help us improve concurrency performance?

            Unassigned Unassigned
            tomnewchao tom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: