I
I
Ivanoff-i2016-08-09 00:57:14
PHP
Ivanoff-i, 2016-08-09 00:57:14

Is it possible to throw requests in Guzzle?

For example, I have a pool of 10,000 links that need to be traversed asynchronously, let's say sticking to 20 concurrent requests. But suddenly some request returned an error and you need to repeat it. Is it possible to somehow throw it into the pool to the rest, so as not to wait until everything is completed? Or maybe there are some alternatives for solving a similar problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
Zhainar, 2016-04-12
@zhainar

https://regex101.com/

V
Vladimir Kuts, 2016-04-12
@fox_12

Probably didn't escape "/":
In general - read about xpath.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question