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:
parent
2a646f2135
commit
8c0a11d6c1
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user