Before we had two main loops: controller loop to assign VMs and worker loop to start VMs. Each of the loops was performed upon an interval every N seconds.
This change introduces a mechanism for reactively requesting loop execution:
Controller loop will be executed upon VM creation to try to immediately schedule.
A worker will be notified upon a VM assigment and worker loop will be requested to sync immediately.
Before we had two main loops: controller loop to assign VMs and worker loop to start VMs. Each of the loops was performed upon an interval every N seconds.
This change introduces a mechanism for reactively requesting loop execution:
A worker will be notified upon a VM assigment and worker loop will be requested to sync immediately.
Fixes #31