public function backoff()
	{
		// increment the current delay
		$this->currentDelayIncrement++;
		// get the current delay seconds
		$this->currentDelay = $this->fibanocci($this->currentDelayIncrement);

		if ($this->currentDelay > $this->maxDelay) {
			$this->currentDelay = $this->maxDelay;
		}

		Utils::debug(['operation' => 'backoff', 'seconds' => $this->currentDelay]);//"Backing off for {$this->currentDelay} seconds before retrying.");
		sleep($this->currentDelay);
	}
public function backoff()
	{
		// increment the current delay
		$this->currentDelayIncrement++;
		// get the current delay seconds
		$this->currentDelay = $this->fibanocci($this->currentDelayIncrement);

		if ($this->currentDelay > $this->maxDelay) {
			$this->currentDelay = $this->maxDelay;
		}

		Utils::debug(['operation' => 'backoff', 'seconds' => $this->currentDelay]);//"Backing off for {$this->currentDelay} seconds before retrying.");
		sleep($this->currentDelay);
	}
public function backoff ( ) { // increment the current delay $ this -> currentDelayIncrement ++ ; // get the current delay seconds $ this -> currentDelay = $ this -> fibanocci ( $ this -> currentDelayIncrement ) ; if ( $ this -> currentDelay > $ this -> maxDelay ) { $ this -> currentDelay = $ this -> maxDelay ; } Utils :: debug ( [ 'operation' => 'backoff' , 'seconds' => $ this -> currentDelay ] ) ; //"Backing off for {$this->currentDelay} seconds before retrying."); sleep ( $ this -> currentDelay ) ; }
Perform the backoff. Sleep the number of seconds for the current delay.
Perform the backoff . Sleep the number of seconds for the current delay .