Tell me if there is a solution for this problem. There is a queue of tasks
- url1 proxy1
- url2 proxy2
- url3 proxy1
- url4 proxy2
How can I make a queue of tasks so that each request is no more than 5 seconds, for example, if Url2 is frozen, so that tasks 1 and 3 are not executed at the same time. Tried the gearman queue server. The solution to this problem there could not be implemented. What other options are there?