Change in ovirt-engine[master]: core: do not monitor pool with no prestarted vms

Arik Hadas has submitted this change and it was merged. Change subject: core: do not monitor pool with no prestarted vms ...................................................................... core: do not monitor pool with no prestarted vms Apparently, VmPoolCommandBase#getNumOfPrestartedVmsInPool is a costly method. This patch reduces calls to this method by filtering VM-pools with no prestarted-VMs from being monitored in VmPoolMonitor. Change-Id: I9a0b8ce069fc24a32ca0beaffa93757e032d0181 Signed-off-by: Arik Hadas <ahadas@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmPoolMonitor.java 1 file changed, 7 insertions(+), 4 deletions(-) Approvals: Shahar Havivi: Looks good to me, approved Jenkins CI: Passed CI tests Shmuel Leib Melamud: Looks good to me, but someone else must approve Arik Hadas: Verified -- To view, visit https://gerrit.ovirt.org/57502 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9a0b8ce069fc24a32ca0beaffa93757e032d0181 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Shahar Havivi <shavivi@redhat.com> Gerrit-Reviewer: Shmuel Leib Melamud <smelamud@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
ahadas@redhat.com