jenkinsci / lockable-resources-plugin

Lock resources against concurrent use
https://plugins.jenkins.io/lockable-resources
MIT License
86 stars 183 forks source link

Improve lockable-resources build (job) page #673

Open mPokornyETM opened 2 months ago

mPokornyETM commented 2 months ago

Partly implement #667 with focus on performacne. The main change is to synchronized the addAction() per build and not global. Also usage of getReadOnlyResources() is more or less obsolete, because all the actions provides in this plugin are synchronized correctly. That measn we spare a lot of memory and CPU by skipping the copy of all resources.

Testing done

My local tests (and also performance tests) looks fine

Proposed upgrade guidelines

N/A

Localizations

Submitter checklist