MatthiasMullie\Scrapbook\Scale\StampedeProtector::sleep PHP Method

sleep() protected method

When waiting for stampede-protected keys, we'll just sleep, not using much resources.
protected sleep ( ) : boolean
return boolean
    protected function sleep()
    {
        $break = $this->sla / $this->attempts;
        usleep(1000 * $break);
        return true;
    }