We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hallo, I use a delay in the guzzle config to avoid 429 Too Many Requests errors.
429 Too Many Requests
$config = [ 'handler' => $stack, 'delay' => 700, ];
That delay is not necessary if the file cache is used.
Is it possible to use no delay if the guzzle-cache-middleware returns the cached file?
thanks Jochen
The text was updated successfully, but these errors were encountered:
Hi, Are you sure that the delay impact the response from the cache? I looked into the source of Guzzle and I thought that it only delay the real call to the network. => https://github.com/guzzle/guzzle/blob/003757426cdd50fbad1c34cdbcc8a55f70a4fe8b/src/Handler/CurlHandler.php#L36
delay
Sorry, something went wrong.
No branches or pull requests
Hallo,
I use a delay in the guzzle config to avoid
429 Too Many Requests
errors.That delay is not necessary if the file cache is used.
Is it possible to use no delay if the guzzle-cache-middleware returns the cached file?
thanks
Jochen
The text was updated successfully, but these errors were encountered: