Security for Confluence distributes scanning to every Confluence Data Center node, and by default runs 2 scans in parallel per node. This number can be configured in UI or via REST API. Server installations are treated as single-node Data Center installations. Scans beyond the number of scans run in parallel are stored in a queue. This queue is accessible to all Confluence nodes.
Changing parallel scans from UI
To change number of scans in parallel per node, visit the Settings page, and then you can reach the configuration by clicking the gear icon on any dashboard. You can see a dropdown where you can choose number of scans in parallel per node.
Changing parallel scans via REST API
For information on REST API usage, see REST API For Scripting and Automation | Viewing-and-Changing-Settings
This call returns a positive integer which is the configured number of parallel scans.
To maximize scanning performance, you can specify the value
0to use all available CPUs.
The returned number will be the actual number of available CPUs, not