HTTP.get() doesn’t work in parallel function.
Does anybody knows, how to manage HTTP.get() parallel works?
Thank you in advance.
HTTP.get() doesn’t work in parallel function.
Does anybody knows, how to manage HTTP.get() parallel works?
Thank you in advance.
A bit more information about the problem is needed (ideally some working code)…
What does parallel function mean? Threaded, distributed? Is HTTP included on the workers? How do you know its not working?
I just want to do
Threads.@threads for …
…
request = HTTP.get(url);
…
end
Yes, I think I have the same kind problem
In case this is really a bug, try:
asyncmap(url->HTTP.get(url), urls)
Single threaded but asynchronous. Alternatively, pmap