MCPcopy Create free account
hub / github.com/eth-easl/dirigent / Stop

Method Stop

internal/control_plane/autoscaling/controller.go:75–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75func (as *PFStateController) Stop() {
76 if atomic.LoadInt32(&as.AutoscalingRunning) != 0 {
77 as.StopCh <- struct{}{}
78 }
79}
80
81func (as *PFStateController) scalingCycle(isScaleFromZero bool) (stopped bool) {
82 desiredScale := as.ScalingMetadata.KnativeScaling(isScaleFromZero)

Callers 1

StopAllScalingLoopsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected