Control How Many Exports can be Performed at the Same Time
Scroll PDF Exporter uses a separate pool of worker threads that handle all the export requests.
- The size of this pool determines how many exports can be performed at the same time.
- While you can start any number of exports at the same time, the export requests will be queued until one of the worker threads picks them up.
- By default, the pool contains 4 threads, i.e. 4 exports can be performed at the same time.
Confluence administrators can configure the size of this pool by setting a custom Java System Property in the Confluence startup scripts.
Note
Please note that increasing this number may have a negative impact on your overall Confluence performance.
There's no rule of thumb for the ideal number of threads. Please always test the performance of your Confluence system after any change in the number of threads.
The CPU time is limited and the more export threads you configure the less CPU time is available for other threads, for example the web worker threads that handle the Confluence web requests when opening a page.
For Scroll PDF Exporter set this property: com.k15t.scroll.scroll-pdf.export-worker-count
Example
-Dcom.k15t.scroll.scroll-pdf.export-worker-count=8
Don't forget to restart Confluence after setting the system property.