Class NoDelayProvisionerStrategy.FastProvisioning

java.lang.Object
hudson.model.queue.QueueListener
io.jenkins.plugins.kubevirt.NoDelayProvisionerStrategy.FastProvisioning
All Implemented Interfaces:
ExtensionPoint
Enclosing class:
NoDelayProvisionerStrategy

@Extension public static class NoDelayProvisionerStrategy.FastProvisioning extends QueueListener
Event-driven queue listener that wakes up the NodeProvisioner immediately when a new buildable item enters the queue and a KubeVirtCloud can serve it.

Without this listener, the provisioner only runs on a periodic timer (with exponential back-off). This converts that polling model into an event-driven one, so that the NoDelayProvisionerStrategy runs within milliseconds of a build entering the queue.

Disabled when -Dio.jenkins.plugins.kubevirt.disableNoDelayProvisioning=true is set.