Reduce started threads in OnClassCondition
Prior to this commit, OnClassCondition started a thread even if the number of passed autoconfiguration class candidates never exceeded 1. This commit only starts a thread if there is actually work to split in half. See gh-22294
Showing
Please register or sign in to comment