protected function autoScale()
    {
        $this->lastAutoScaled = $this->lastAutoScaled ?:
                    Chronos::now()->subSeconds($this->autoScaleCooldown + 1);

        if (Chronos::now()->subSeconds($this->autoScaleCooldown)->gte($this->lastAutoScaled)) {
            $this->lastAutoScaled = Chronos::now();

            app(AutoScaler::class)->scale($this);
        }
    }
protected function autoScale()
    {
        $this->lastAutoScaled = $this->lastAutoScaled ?:
                    Chronos::now()->subSeconds($this->autoScaleCooldown + 1);

        if (Chronos::now()->subSeconds($this->autoScaleCooldown)->gte($this->lastAutoScaled)) {
            $this->lastAutoScaled = Chronos::now();

            app(AutoScaler::class)->scale($this);
        }
    }
protected function autoScale ( ) { $ this -> lastAutoScaled = $ this -> lastAutoScaled ? : Chronos :: now ( ) -> subSeconds ( $ this -> autoScaleCooldown + 1 ) ; if ( Chronos :: now ( ) -> subSeconds ( $ this -> autoScaleCooldown ) -> gte ( $ this -> lastAutoScaled ) ) { $ this -> lastAutoScaled = Chronos :: now ( ) ; app ( AutoScaler :: class ) -> scale ( $ this ) ; } }
Run the auto-scaling routine for the supervisor.

@return void
Run the auto - scaling routine for the supervisor .