Hello, for information I found the solution in this class : 
https://github.com/jenkinsci/cloudbees-folder-plugin/blob/master/src/main/java/com/cloudbees/hudson/plugins/folder/computed/ThrottleComputationQueueTaskDispatcher.java

if the env var 
com.cloudbees.hudson.plugins.folder.computed.ThrottleComputationQueueTaskDispatcher.LIMIT
 
is set, the number of parallel threads is the min (2 x nb processors, env 
var value)
if the env var is not set, the number of parallel thread is min(2 x nb 
processors, 5)


Le lundi 6 mai 2019 14:39:42 UTC+2, Tristan FAURE a écrit :
>
> Sorry if it is not clear
>
> when I create multi branch pipeline jobs for bitbuckets, scan of 
> repositories (organization) is made frequently. For some repositories the 
> number of projects, branches... can be important and the scan operation 
> performed on the master can be long.
>
> When these scan operations are performed in parallel I noticed that the 
> master limit the number of scan to 5 and I don't know where this limit come 
> from. It seems it is not linked to number of executors of the masters (1 in 
> my case)
>
> Le lundi 6 mai 2019 14:25:29 UTC+2, Rick a écrit :
>>
>> I don't really understand your question. Can you be more specific?
>>
>> On Mon, May 6, 2019 at 8:22 PM Tristan FAURE <[email protected]> wrote:
>>
>>> Hello
>>> I'm using jenkins 2.150.2 and bitbucket branch source plugin 2.4.0
>>>
>>> when scan of repositories is performed :
>>>
>>>
>>>
>>> *Building <name of the repository> » Scan Organization Folder*it is 
>>> impossible to have more than 5 operations in parallel on the master, do you 
>>> know if this limit is set somewhere or how it is computed ?
>>>
>>> Thank you in advance
>>>
>>> Regards
>>>
>>>
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/97d56fe7-4a86-4f81-b547-6276b0974509%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/97d56fe7-4a86-4f81-b547-6276b0974509%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>> https://github.com/LinuxSuRen
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7a00d926-72b6-43d7-8e66-bdd98bc4de65%40googlegroups.com.

Reply via email to