1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 10:33:18 +01:00

fixes a bug causing delay time to be ignored

This commit is contained in:
Johannes 2012-08-04 20:52:00 +03:00
parent 2a646f2135
commit 8c0a11d6c1

View File

@ -264,7 +264,7 @@ class ExponentialBackoffPlugin implements EventSubscriberInterface
$delayTime = microtime(true) + $delay;
// Send the request again
$request->setState(RequestInterface::STATE_TRANSFER);
$params->set(self::DELAY_PARAM, $delay);
$params->set(self::DELAY_PARAM, $delayTime);
}
}
}