Use Guzzle delay option instead of blocking via usleep #25
ostrolucky
started this conversation in
Ideas
Replies: 1 comment
-
Feel free to send a PR for this. All current test should remain green. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Guzzle provides
delay
option https://docs.guzzlephp.org/en/stable/request-options.html#delay which can be used to delay sending of the request. CurlMultiHandler utilises it in non-blocking manner. It would be great if this middleware used it instead of callingusleep()
Beta Was this translation helpful? Give feedback.
All reactions