Closed mayt closed 5 years ago
@mayt the tests werent successful, could you check please?
Retest this please
@bjoernhaeuser looks like an unrelated test failed. Would you be able to rerun the test?
@bjoernhaeuser can you take another look?
Thank you!
@bjoernhaeuser is there any chance of getting another release of this plugin? I discovered 82 threads spinning on the loop that this PR removes this morning, leaving the master's load average at about 90.
The
GhprbCancelBuildsOnUpdate
'scancelCurrentBuilds
does not loop through the project's queue items which will cause an infinite loop when new scheduled builds are added. In certain cases the newly scheduled jobs using Ghprb will get caught in the loop and will deadlock the executor and worker threads. See the stacktrace below.This patches the looping logic to iterate through all the items and exits the loop.