# Throttle Concurrent Builds & open PR

**URL:** <https://community.jenkins.io/t/throttle-concurrent-builds-open-pr/8390>\
**Category:** Ask a question\
**Created:** [July 10, 2023, 2:01pm UTC](https://community.jenkins.io/t/throttle-concurrent-builds-open-pr/8390 "2023-07-10T14:01:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marklenders](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@marklenders](https://community.jenkins.io/u/marklenders)\
**Post date:** [July 10, 2023, 2:01pm UTC](https://community.jenkins.io/t/throttle-concurrent-builds-open-pr/8390/1 "2023-07-10T14:01:59Z")

</div>

Hello everyone,  
I am using the “[Throttle Concurrent Builds](https://plugins.jenkins.io/throttle-concurrents/)” plugin but I am having problems.

I set up on Jenkins (Manage Jenkins → System) the Multi-Project Throttle Categories as follow:  
Category name: pipeline\_ms\_throttle  
Maximum Total Concurrent Builds: 2  
Maximum Concurrent Builds Per Node: 2

In my jenkins file I set up:

```auto
pipeline {
  agent {
    node {label 'LINUX'}
  }
    // Throttle a declarative pipeline via options
  options {
    throttleJobProperty(
      categories: ['pipeline_ms_throttle'],
      throttleEnabled: true,
      throttleOption: 'category'
    )
  }

```

Now, if I try to run multiple pipelines at the same time the plugin seems to work correctly

![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/0/08aad2b3a9a81493ffa7445c2d72c1f22575f417.png)

However, if I go to do a merge in a branch (Ex: dev) that has several Pull Requests open, the builds of these PRs restart at the same time without considering the plugin.

How is this possible in your opinion? Is there a solution to this problem?

Thanks in advance
